This commit is contained in:
parent
8c79731822
commit
3d6c3abac9
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -6,9 +6,9 @@ module1 = Extension('py3dutil', sources = ['py3dutil.c', 'obarr.c', 'red_black_t
|
|||
|
||||
buildno = 0
|
||||
if os.path.exists('buildno'):
|
||||
buildno = load(open('buildno', 'rb'))
|
||||
buildno = load(open('buildno', 'r'))['build']
|
||||
buildno += 1
|
||||
dump(buildno, open('buildno', 'wb'))
|
||||
dump({'build': buildno}, open('buildno', 'w'))
|
||||
|
||||
setup (name = 'py3dutil',
|
||||
version = '0.3.%.4d' % (buildno,),
|
||||
|
|
Loading…
Add table
Reference in a new issue