diff options
author | Ben Firshman <ben@firshman.co.uk> | 2013-12-20 21:25:19 +0000 |
---|---|---|
committer | Ben Firshman <ben@firshman.co.uk> | 2013-12-20 21:25:52 +0000 |
commit | dd920890f3510d69ea8780a5a4436fa4d3000e09 (patch) | |
tree | b979031d388778f162431ef730c27b6062bcf7d2 /setup.py | |
parent | 5cc4b59dc02dce0d8330370ae4665e1ecd2619a1 (diff) |
Read requirements in setup.py
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,6 +21,8 @@ def find_version(*file_paths): return version_match.group(1) raise RuntimeError("Unable to find version string.") +with open('requirements.txt') as f: + install_requires = f.read().splitlines() setup( name='fig', @@ -32,8 +34,7 @@ setup( packages=['fig'], package_data={}, include_package_data=True, - install_requires=[], - dependency_links=[], + install_requires=install_requires, entry_points=""" [console_scripts] fig=fig.cli.main:main |