Skip to content

Commit

Permalink
Merge pull request #34 from opesci/compressionV2
Browse files Browse the repository at this point in the history
Load requirements into setup.py
  • Loading branch information
navjotk authored Mar 18, 2019
2 parents 16c5e26 + 7e6ed6c commit 63c98c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Cython
cython>=0.17
flake8
versioneer
pytest
blosc
contexttimer
pyzfp

5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ def extensions():
with open("README.md", "r") as fh:
long_description = fh.read()

with open('requirements.txt') as f:
required = f.read().splitlines()

configuration = {
'name': 'pyrevolve',
'packages': ["pyrevolve"],
'setup_requires': ['cython>=0.17'],
'setup_requires': required,
'ext_modules': lazy_cythonize(extensions),
'version': versioneer.get_version(),
'cmdclass': versioneer.get_cmdclass(),
Expand Down

0 comments on commit 63c98c8

Please sign in to comment.