diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-07-03 13:58:51 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-07-03 13:58:51 -0400 |
commit | 8e5c0b5c200e9cab80790e57233d5430dd2f45d1 (patch) | |
tree | e75ed640659bfbe5ac0eab0e9755a3cd5b824591 | |
parent | 0c7cbab9c6d2496556e91583ba98445962cfd778 (diff) | |
download | steuermann-8e5c0b5c200e9cab80790e57233d5430dd2f45d1.tar.gz |
Read requirements from file
-rw-r--r-- | setup.py | 22 |
1 files changed, 5 insertions, 17 deletions
@@ -57,26 +57,13 @@ classifiers = [ 'Topic :: System :: Distributed Computing', ] - - command_list = [ 'smc', 'smcron', 'steuermann_report.cgi' ] -args = { - 'name': 'steuermann', - 'version' : version, - 'description' : "Steuermann Continuous Integration Control System", - 'long_description': long_desc, - 'author' : "Mark Sienkiewicz", - 'author_email' : "help@stsci.edu", - 'url' : 'https://svn.stsci.edu/trac/ssb/etal/wiki/Steuermann', - 'scripts' : ['scripts/' + x for x in command_list ], - 'package_dir' : { 'steuermann' : 'steuermann', }, - 'license': 'BSD', - 'packages': [ 'steuermann' ], - 'package_data': { 'steuermann' : [ '*.sql', '*.ini', ], }, - 'classifiers': classifiers, -} + +with open('requirements.txt', 'r') as req: + install_requires = [ pkg.rstrip() for pkg in req ] os.system('make') + setup( name = 'steuermann', version = version.pep386, @@ -85,6 +72,7 @@ setup( author = 'Mark Sienkiewicz', author_email = 'help@stsci.edu', url = 'https://svn.stsci.edu/trac/ssb/etal/wiki/Steuermann', + install_requires = install_requires, scripts = ['scripts/' + x for x in command_list ], packages = find_packages(), classifiers = classifiers |