remove wonky buildnumber
This commit is contained in:
parent
7e117faa09
commit
8e946afeac
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -17,7 +17,7 @@ if sys.argv[1] == 'clean':
|
|||
assert len(dir_to_remove) > (len(distutils.sysconfig.get_python_lib()) + 1)
|
||||
shutil.rmtree(dir_to_remove)
|
||||
else:
|
||||
majorversion = '1.0.0-build'
|
||||
majorversion = '1.1.0'
|
||||
buildnumber = 0
|
||||
if os.path.exists('buildnum'):
|
||||
fd = open('buildnum', 'rb')
|
||||
|
@ -34,7 +34,7 @@ else:
|
|||
dump((majorversion, buildnumber), fd)
|
||||
fd.close()
|
||||
|
||||
ver = '%s%d' % (majorversion, buildnumber)
|
||||
ver = '%s' % (majorversion,)
|
||||
print("Building version %s" % (ver,))
|
||||
setup(
|
||||
name='pycecil',
|
||||
|
|
Loading…
Add table
Reference in a new issue