mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +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
|
-r requirements/devel.txt
|
||||||
appdirs
|
|
||||||
setuptools
|
|
||||||
six
|
|
||||||
wheel
|
|
||||||
twine
|
|
||||||
sphinx
|
|
||||||
requests
|
|
||||||
pytest
|
|
||||||
pytest-xdist
|
|
||||||
pytest-timeout
|
|
||||||
numpy
|
|
||||||
pillow
|
|
||||||
pathlib2
|
|
||||||
|
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
|
Topic :: Software Development :: User Interfaces
|
||||||
"""
|
"""
|
||||||
|
|
||||||
DEPENDENCIES = [ 'six',
|
INSTALL_REQUIRES = [line.strip()
|
||||||
'Pillow',
|
for line in open('requirements/install.txt').readlines()
|
||||||
]
|
if not line.startswith('#')]
|
||||||
|
|
||||||
isWindows = sys.platform.startswith('win')
|
isWindows = sys.platform.startswith('win')
|
||||||
isDarwin = sys.platform == "darwin"
|
isDarwin = sys.platform == "darwin"
|
||||||
@@ -356,7 +356,7 @@ if __name__ == '__main__':
|
|||||||
platforms = PLATFORMS,
|
platforms = PLATFORMS,
|
||||||
classifiers = [c for c in CLASSIFIERS.split("\n") if c],
|
classifiers = [c for c in CLASSIFIERS.split("\n") if c],
|
||||||
keywords = KEYWORDS,
|
keywords = KEYWORDS,
|
||||||
install_requires = DEPENDENCIES,
|
install_requires = INSTALL_REQUIRES,
|
||||||
zip_safe = False,
|
zip_safe = False,
|
||||||
use_2to3 = False,
|
use_2to3 = False,
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
|
Reference in New Issue
Block a user