Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
70208cc5
Commit
70208cc5
authored
Oct 12, 2017
by
James Tocknell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add python_requires to setup.py
parent
6a5a9c05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
setup.py
setup.py
+5
-0
No files found.
setup.py
View file @
70208cc5
...
...
@@ -12,6 +12,10 @@ import sys
import
platform
is_cpython
=
platform
.
python_implementation
()
==
'CPython'
# this specifies which versions of python we support, pip >= 9 knows to skip
# versions of packages which are not compatible with the running python
PYTHON_REQUIRES
=
'>=2.6, !=3.0.*, !=3.1.*, !=3.2.*'
if
sys
.
platform
==
"darwin"
:
# Don't create resource files on OS X tar.
os
.
environ
[
'COPY_EXTENDED_ATTRIBUTES_DISABLE'
]
=
'true'
...
...
@@ -59,6 +63,7 @@ setup_args['package_data'] = {
setuptools_extra_args
=
{}
if
'setuptools'
in
sys
.
modules
:
setuptools_extra_args
[
'python_requires'
]
=
PYTHON_REQUIRES
setuptools_extra_args
[
'zip_safe'
]
=
False
setuptools_extra_args
[
'entry_points'
]
=
{
'console_scripts'
:
[
...
...
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