Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snakehouse
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
snakehouse
Commits
875311f4
Commit
875311f4
authored
10 months ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
setup.cfg
+1
-1
1 addition, 1 deletion
setup.cfg
snakehouse/__init__.py
+1
-1
1 addition, 1 deletion
snakehouse/__init__.py
snakehouse/requirements.py
+4
-1
4 additions, 1 deletion
snakehouse/requirements.py
with
10 additions
and
3 deletions
CHANGELOG.md
+
4
−
0
View file @
875311f4
# 2.3
*
updated snakehouse.__version__
# 2.2
# 2.2
*
added read_dependency_links to snakehouse
*
added read_dependency_links to snakehouse
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
1
−
1
View file @
875311f4
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
snakehouse/__init__.py
+
1
−
1
View file @
875311f4
...
@@ -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
'
This diff is collapsed.
Click to expand it.
snakehouse/requirements.py
+
4
−
1
View file @
875311f4
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment