mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-20 20:21:09 +02:00
Split the requirements list into two lists, load install_requires list from one of them.
(cherry picked from commit 4b3f422806
)
This commit is contained in:
@@ -1,14 +1 @@
|
||||
# Phoenix build and test requirements
|
||||
appdirs
|
||||
setuptools
|
||||
six
|
||||
wheel
|
||||
twine
|
||||
sphinx
|
||||
requests
|
||||
pytest
|
||||
pytest-xdist
|
||||
pytest-timeout
|
||||
numpy
|
||||
pillow
|
||||
pathlib2
|
||||
-r requirements/devel.txt
|
||||
|
12
requirements/devel.txt
Normal file
12
requirements/devel.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
# Python packages needed for building and testing wxPython Phoenix
|
||||
-r install.txt
|
||||
appdirs
|
||||
setuptools
|
||||
wheel
|
||||
twine
|
||||
sphinx
|
||||
requests
|
||||
pytest
|
||||
pytest-xdist
|
||||
pytest-timeout
|
||||
pathlib2
|
4
requirements/install.txt
Normal file
4
requirements/install.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
# Runtime dependencies needed when using wxPython Phoenix
|
||||
numpy
|
||||
pillow
|
||||
six
|
8
setup.py
8
setup.py
@@ -89,9 +89,9 @@ Programming Language :: Python :: Implementation :: CPython
|
||||
Topic :: Software Development :: User Interfaces
|
||||
"""
|
||||
|
||||
DEPENDENCIES = [ 'six',
|
||||
'Pillow',
|
||||
]
|
||||
INSTALL_REQUIRES = [line.strip()
|
||||
for line in open('requirements/install.txt').readlines()
|
||||
if not line.startswith('#')]
|
||||
|
||||
isWindows = sys.platform.startswith('win')
|
||||
isDarwin = sys.platform == "darwin"
|
||||
@@ -356,7 +356,7 @@ if __name__ == '__main__':
|
||||
platforms = PLATFORMS,
|
||||
classifiers = [c for c in CLASSIFIERS.split("\n") if c],
|
||||
keywords = KEYWORDS,
|
||||
install_requires = DEPENDENCIES,
|
||||
install_requires = INSTALL_REQUIRES,
|
||||
zip_safe = False,
|
||||
use_2to3 = False,
|
||||
include_package_data = True,
|
||||
|
Reference in New Issue
Block a user