Skip to content

Commit cf2e1ea

Browse files
committed
Specify requirements n the package
requirements.txt is not included in the binary dist, so install will fail
1 parent 31578bc commit cf2e1ea

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

setup.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
from setuptools import setup, find_packages
2-
from pip.req import parse_requirements
3-
4-
5-
def reqs_from_requirements_file():
6-
reqs = parse_requirements('requirements.txt', session='hack')
7-
return [str(r.req) for r in reqs]
8-
1+
from setuptools import setup
92

103
setup(
114
name="demosys-py",
@@ -30,7 +23,14 @@ def reqs_from_requirements_file():
3023
'Programming Language :: Python :: 3.6',
3124
'Topic :: Software Development :: Libraries :: Application Frameworks',
3225
],
33-
install_requires=reqs_from_requirements_file(),
26+
install_requires=[
27+
'PyOpenGL==3.1.0',
28+
'glfw==1.4.0',
29+
'pyrr==0.8.2',
30+
'Pillow==4.0.0',
31+
'pyrocket==0.1.0',
32+
'pygame==1.9.3',
33+
],
3434
entry_points={'console_scripts': [
3535
'demosys-admin = demosys.core.management:execute_from_command_line',
3636
]},

0 commit comments

Comments
 (0)