Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
ZODB
Commits
0f7d2a83
Commit
0f7d2a83
authored
9 years ago
by
Marius Gedminas
Browse files
Options
Download
Plain Diff
Merge pull request #37 from zopefoundation/env-markers
Use PEP-426 environment markers
parents
a1df3d04
add078bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
setup.py
setup.py
+5
-8
No files found.
setup.py
View file @
0f7d2a83
...
...
@@ -23,7 +23,6 @@ interface, rich transaction support, and undo.
VERSION
=
"4.2.0.dev0"
import
os
import
platform
import
sys
from
setuptools
import
setup
,
find_packages
...
...
@@ -35,11 +34,6 @@ if (3,) < sys.version_info < (3, 2):
print
(
"This version of ZODB requires Python 3.2 or higher"
)
sys
.
exit
(
0
)
PY3
=
sys
.
version_info
>=
(
3
,)
PY27
=
sys
.
version_info
>=
(
2
,
7
)
py_impl
=
getattr
(
platform
,
'python_implementation'
,
lambda
:
None
)
PYPY
=
py_impl
()
==
'PyPy'
# The (non-obvious!) choices for the Trove Development Status line:
# Development Status :: 5 - Production/Stable
...
...
@@ -157,7 +151,10 @@ setup(name="ZODB",
long_description
=
long_description
,
test_suite
=
"__main__.alltests"
,
# to support "setup.py test"
tests_require
=
tests_require
,
extras_require
=
dict
(
test
=
tests_require
),
extras_require
=
{
'test'
:
tests_require
,
':python_version != "2.6"'
:
'zodbpickle >= 0.6.0'
,
},
install_requires
=
[
'persistent >= 4.1.0'
,
'BTrees >= 4.1.3'
,
...
...
@@ -167,7 +164,7 @@ setup(name="ZODB",
'zc.lockfile'
,
'zdaemon >= 4.0.0a1'
,
'zope.interface'
,
]
+
([
'zodbpickle >= 0.6.0'
]
if
(
PY3
or
PY27
or
PYPY
)
else
[])
,
]
,
zip_safe
=
False
,
entry_points
=
"""
[console_scripts]
...
...
This diff is collapsed.
Click to expand it.
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