diff options
author | Loïc Minier <lool@dooz.org> | 2011-01-28 13:07:05 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2011-01-28 13:07:05 +0100 |
commit | d5168b264e32ba01e271f3b7ebad2861671a2af6 (patch) | |
tree | 24182473fb360f8d4d98f9491d64968aa76fb39f /setup.py | |
parent | 3450ebcf17ca7e8053529994e084400b7d3684b5 (diff) |
Harcode version in setup.py instead of reading it from the packaging which will
go away. Use version 0.4.1.1 as to distinguish people using bzr checkouts from
the 0.4.1 release.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -4,23 +4,8 @@ from distutils.core import setup import os import subprocess - -def get_version(): - proc = subprocess.Popen( - ["dpkg-parsechangelog"], - cwd=os.path.abspath(os.path.dirname(__file__)), - stdout=subprocess.PIPE) - output, _ = proc.communicate() - version = None - for line in output.split("\n"): - if line.startswith("Version: "): - version = line.split(" ", 1)[1].strip() - assert version is not None, ( - "Couldn't determine version number from debian changelog") - - setup( name="linaro-image-tools", - version=get_version(), + version="0.4.1.1", packages=["hwpack", "linaro_media_create"], ) |