From 65e2418d2a82e1ae939dd402052e26ec3572c163 Mon Sep 17 00:00:00 2001 From: sienkiew Date: Mon, 3 Oct 2011 21:51:04 +0000 Subject: checkpoint git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@435 d34015c8-bcbb-4646-8ac8-8ba5febf221d --- setup.py | 50 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 7 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 167baec..e79d1e8 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,38 @@ import distutils.core +long_desc = ''' +Steuermann is a control system for continuous integration. You write +one or more config files defining processes to run on various computers +along with dependencies. + +For example, you can declare that task A runs on computer X, but only +after task B runs (to completion) on computer Y. + +You can invoke steuermann in automatic mode to run all the processes in +the necessary order. This is the way to perform automatic builds/tests. + +You can invoke steuermann manually to select a subset of processes +to execute. This is a way to repeat steps without running everything +again, for example to repeat a failed portion of an automatic build/test +sequence. + +''' + +classifiers = [ + 'Development Status :: 3 - Alpha', + 'Environment :: Console', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: BSD License', + 'Natural Language :: English', + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 2', + 'Topic :: Software Development :: Build Tools', + 'Topic :: System :: Distributed Computing', + ] + +# f=open('steuermann/__init__.py','r') for x in f : if x.startswith('__version__') : @@ -7,22 +40,25 @@ for x in f : break f.close() -print version - -command_list = [ 'smc', 'steuermann_report.cgi' ] +# +command_list = [ 'smc', 'smcron', 'steuermann_report.cgi' ] use_usr_bin_env = [ ] dir_set = 'addpath = "%s"\n' args = { - 'version' : "2.0dev", + 'name': 'steuermann', + 'version' : version, 'description' : "Steuermann Continuous Integration Control System", + 'long_description': long_desc, 'author' : "Mark Sienkiewicz", - 'scripts' : ['scripts/smc', 'scripts/steuermann_report.cgi'], - 'package_dir' : { 'steuermann' : 'steuermann', }, + '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', ], } + 'package_data': { 'steuermann' : [ '*.sql', '*.ini', ], }, + 'classifiers': classifiers, } d = distutils.core.setup( -- cgit