mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
Updated to separate the version in an easily-machine-replaceable variable.
This commit is contained in:
parent
f63445d39d
commit
efb9b80ab5
@ -120,6 +120,7 @@ def main():
|
||||
log.info('Total CPU time taken: %s seconds.', user+system)
|
||||
log.info('No more Irc objects, exiting.')
|
||||
|
||||
version = '0.80.0pre2'
|
||||
if __name__ == '__main__':
|
||||
###
|
||||
# Options:
|
||||
@ -130,7 +131,7 @@ if __name__ == '__main__':
|
||||
# --connect (commands to run afterConnect)
|
||||
# --config (configuration values)
|
||||
parser = optparse.OptionParser(usage='Usage: %prog [options] configFile',
|
||||
version='supybot 0.80.0pre2')
|
||||
version='supybot %s' % version)
|
||||
parser.add_option('-P', '--profile', action='store_true', dest='profile',
|
||||
help='enables profiling')
|
||||
parser.add_option('-O', action='count', dest='optimize',
|
||||
|
3
setup.py
3
setup.py
@ -79,10 +79,11 @@ if clean:
|
||||
print 'Couldn\'t remove former installation: %s' % e
|
||||
sys.exit(-1)
|
||||
|
||||
version = '0.80.0pre2'
|
||||
setup(
|
||||
# Metadata
|
||||
name='supybot',
|
||||
version='0.80.0pre2',
|
||||
version=version,
|
||||
author='Jeremy Fincher',
|
||||
url='http://supybot.sf.net/',
|
||||
author_email='jemfinch@users.sf.net',
|
||||
|
Loading…
Reference in New Issue
Block a user