Skip to content

Commit

Permalink
Fix requirements and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thcrock committed Jul 19, 2017
1 parent 7195d08 commit 7066f48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ numpy>=1.12
sqlalchemy-postgres-copy
retrying
results-schema
git+git://github.com/dssg/metta-data.git
2 changes: 0 additions & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
-r requirements.txt

git+git://github.com/dssg/metta-data.git

pip==9.0.1
bumpversion==0.5.3
flake8==3.3.0
Expand Down
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@
license = license_file.read()

with open('requirements.txt') as requirements_file:
requirements = requirements_file.readlines()
requirements = [
line for line in requirements_file.readlines()
if 'git+git://' not in line
]

with open('requirements_dev.txt') as dev_requirements_file:
test_requirements = dev_requirements_file.readlines()
test_requirements = [
line for line in dev_requirements_file.readlines()
if '-r requirements' not in line
]


setup(
Expand Down

0 comments on commit 7066f48

Please sign in to comment.