From 7f74cbd7bde2a8da57678d5ffb0ec63cfaead064 Mon Sep 17 00:00:00 2001 From: Amr Hassan Date: Tue, 8 Sep 2009 15:26:47 +0000 Subject: [PATCH] won't increase build by default anymore --- .build | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.build b/.build index f11c82a..9a03714 100644 --- a/.build +++ b/.build @@ -1 +1 @@ -9 \ No newline at end of file +10 \ No newline at end of file diff --git a/setup.py b/setup.py index 2508012..bcb350d 100755 --- a/setup.py +++ b/setup.py @@ -5,9 +5,12 @@ from distutils.core import setup import os def get_build(): path = "./.build" + if os.path.exists(path): fp = open(path, "r") - build = eval(fp.read())+1 + build = eval(fp.read()) + if os.path.exists("./.increase_build"): + build += 1 fp.close() else: build = 1