Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
35f4a463
Commit
35f4a463
authored
Oct 17, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup: use PEP508 environment marker to define python2 requirements
https://www.python.org/dev/peps/pep-0508
is less verbose.
parent
05ab647c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
setup.py
setup.py
+1
-2
No files found.
setup.py
View file @
35f4a463
...
...
@@ -28,8 +28,6 @@ try:
except
ImportError
:
additional_install_requires
.
append
(
'argparse'
)
if
sys
.
version_info
[
0
]
<
3
:
additional_install_requires
.
append
(
'subprocess32'
)
setup
(
name
=
name
,
version
=
version
,
...
...
@@ -63,6 +61,7 @@ setup(name=name,
'cachecontrol'
,
'lockfile'
,
'uritemplate'
,
# used by hateoas navigator
'subprocess32; python_version<"3"'
]
+
additional_install_requires
,
extras_require
=
{
'docs'
:
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment