added envvar SCRAPY_VERSION_FROM_HG=1 to extras/makedeb.py script

This commit is contained in:
Pablo Hoffman 2011-06-18 03:31:47 -03:00
parent 7e5e00cea5
commit 841007b5c5
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ def build(suffix):
with open(ifn, 'w') as of:
of.write(s)
check_call('debchange -m -D unstable --force-distribution -v $(python setup.py --version)-r$(hg tip --template "{rev}")+$(date +%s) "Automatic build"', shell=True)
env={'SCRAPY_VERSION_FROM_HG': '1'}
check_call('debchange -m -D unstable --force-distribution -v $(python setup.py --version)+$(date +%s) "Automatic build"', \
shell=True, env=env)
check_call('debuild -us -uc -b', shell=True)
def clean(suffix):