won't increase build by default anymore
This commit is contained in:
parent
586fcae541
commit
7f74cbd7bd
5
setup.py
5
setup.py
|
@ -5,9 +5,12 @@ from distutils.core import setup
|
||||||
import os
|
import os
|
||||||
def get_build():
|
def get_build():
|
||||||
path = "./.build"
|
path = "./.build"
|
||||||
|
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
fp = open(path, "r")
|
fp = open(path, "r")
|
||||||
build = eval(fp.read())+1
|
build = eval(fp.read())
|
||||||
|
if os.path.exists("./.increase_build"):
|
||||||
|
build += 1
|
||||||
fp.close()
|
fp.close()
|
||||||
else:
|
else:
|
||||||
build = 1
|
build = 1
|
||||||
|
|
Loading…
Reference in a new issue