Skip to content

Commit

Permalink
change requirements.txt to be standard and make setup.py to use that
Browse files Browse the repository at this point in the history
  • Loading branch information
HBehrens committed Apr 22, 2017
1 parent d043c26 commit 09b2b8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--index-url https://pypi.python.org/simple/

-e .
Flask==0.10.1
mock==1.3.0
codecov==2.0.5
nose-cov==1.6
8 changes: 2 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
with open('puncover/version.py') as f:
exec (f.read())

requires = [
'Flask==0.10.1\n'
'mock==1.3.0\n',
'codecov==2.0.5\n',
'nose-cov==1.6\n',
]
with open('requirements.txt') as f:
requires = f.readlines()


class CleanCommand(Command):
Expand Down

0 comments on commit 09b2b8a

Please sign in to comment.