diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eb0cf766baa5659d21b94bd1e91dafcb7e4325a..db038fdbe9ae24ac9e8a4632d5575815defcb55a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.3 + +* updated snakehouse.__version__ + # 2.2 * added read_dependency_links to snakehouse diff --git a/setup.cfg b/setup.cfg index 67c89870afe4cf7c5be6e99700948b20770bc6dc..e2995169df7d59ba27bfdb0bd246f55265f640f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ [metadata] name = snakehouse keywords = cython, extension, multiple, pyx -version = 2.2 +version = 2.3 long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8 license_files = LICENSE diff --git a/snakehouse/__init__.py b/snakehouse/__init__.py index b62cb1c59408254cb6a9935eda3c600871519cf3..0d535f83d283dfa4ccc5003685111f7a3339282b 100644 --- a/snakehouse/__init__.py +++ b/snakehouse/__init__.py @@ -3,4 +3,4 @@ from .multibuild import Multibuild, find_all from .faster_builds import monkey_patch_parallel_compilation from .requirements import read_requirements_txt, read_dependency_links, find_c, find_pyx_and_c, find_pyx -__version__ = '2.0' +__version__ = '2.3' diff --git a/snakehouse/requirements.py b/snakehouse/requirements.py index a9bf665967741c0fad8bbbd9121b70ac01d5467d..3ae9601e3a292ffa61e0563a0eb55e44ee97ca2a 100644 --- a/snakehouse/requirements.py +++ b/snakehouse/requirements.py @@ -64,7 +64,10 @@ def read_requirements_txt(path: str = 'requirements.txt'): return list(lines) -def read_dependency_links(path: str = 'requirements.txt'): +def read_dependency_links(path: str = 'requirements.txt') -> tp.List[str]: + """ + Return arguments that can be passed to setup.py dependency_links + """ lines = read_lines(path) lines = (line for line in lines if line.startwith('--extra')) return list(lines)