Skip to content

Commit c86ca29

Browse files
committed
pull setup.py install_requires from requirements.txt
Instead of hard-coding it in both places. When I changed the redis requirement in requirements.txt I missed it in setup.py
1 parent b02437f commit c86ca29

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020
pyres_worker=pyres.scripts:pyres_worker
2121
""",
2222
install_requires=[
23-
'simplejson>=2.0.9',
24-
'redis==2.4.12',
25-
'setproctitle>=1.0'
26-
],
23+
item for item in
24+
open("requirements.txt").read().split("\n")
25+
if item],
2726
classifiers = [
2827
'Development Status :: 4 - Beta',
2928
'Environment :: Console',

0 commit comments

Comments
 (0)