Give the list of dependencies to distutils.

This commit is contained in:
Valentin Lorentz 2015-12-20 20:45:12 +01:00
parent 2c79b6e7fb
commit 550922ffc4
2 changed files with 6 additions and 2 deletions

View File

@ -1,2 +1,2 @@
limnoria>2012.08.04 # Needs MultipleReplacer, from 1a64f105
psutil>3.1.0 # Fixes #640
limnoria > 2012.08.04 # Needs MultipleReplacer, from 1a64f105
psutil >= 3.1.0 # Fixes #640

View File

@ -9,6 +9,9 @@ if sys.version_info < (3, 4, 0):
sys.stderr.write(os.linesep)
sys.exit(-1)
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as fd:
requirements = [x.split('#')[0].strip().replace(' >', ' (>')+')'
for x in fd.readlines()]
setup(
name='irctest',
@ -45,6 +48,7 @@ setup(
'irctest.irc_utils',
'irctest.server_tests',
],
requires=requirements,
)
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: