Skip to content

Commit 833d92b

Browse files
committed
#14 add requriements loading from requriements.txt
1 parent 5e8bbee commit 833d92b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
# prerequisite: setuptools
2727
# http://pypi.python.org/pypi/setuptools
2828

29-
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil", "requests"]
29+
with open("requirements.txt") as requirements:
30+
REQUIRES = [req.replace('\n', '') for req in requirements.readlines()]
3031

3132
setup(
3233
name=NAME,

0 commit comments

Comments
 (0)