Skip to content
Snippets Groups Projects
Commit 875311f4 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

snakehouse.__version__

parent 4d57b6b4
Branches develop
Tags v2.3
No related merge requests found
Pipeline #62457 passed with stages
in 1 minute and 24 seconds
# 2.3
* updated snakehouse.__version__
# 2.2 # 2.2
* added read_dependency_links to snakehouse * added read_dependency_links to snakehouse
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
[metadata] [metadata]
name = snakehouse name = snakehouse
keywords = cython, extension, multiple, pyx keywords = cython, extension, multiple, pyx
version = 2.2 version = 2.3
long_description = file: README.md long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8 long_description_content_type = text/markdown; charset=UTF-8
license_files = LICENSE license_files = LICENSE
......
...@@ -3,4 +3,4 @@ from .multibuild import Multibuild, find_all ...@@ -3,4 +3,4 @@ from .multibuild import Multibuild, find_all
from .faster_builds import monkey_patch_parallel_compilation 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 from .requirements import read_requirements_txt, read_dependency_links, find_c, find_pyx_and_c, find_pyx
__version__ = '2.0' __version__ = '2.3'
...@@ -64,7 +64,10 @@ def read_requirements_txt(path: str = 'requirements.txt'): ...@@ -64,7 +64,10 @@ def read_requirements_txt(path: str = 'requirements.txt'):
return list(lines) 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 = read_lines(path)
lines = (line for line in lines if line.startwith('--extra')) lines = (line for line in lines if line.startwith('--extra'))
return list(lines) return list(lines)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment