summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-12 19:10:48 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-12 19:10:48 +0200
commit3bbb577e8a47ed05041c2532531e0e263f821c2c (patch)
tree3ffb82dffe96e52ecf7471f6782cfaa60267b68b /setup.py
parent8e4f00f1b6349b55eebce3c9cccbcab7ab438a85 (diff)
downloadpython-apt-3bbb577e8a47ed05041c2532531e0e263f821c2c.tar.gz
setup.py, debian/rules: Support version in setup.py again by getting
the value from the variable DEBVER (defined in debian/rules), falling back to None.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 2fd29953..2afd0708 100755
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,7 @@ if len(sys.argv) > 1 and sys.argv[1] == "clean" and '-a' in sys.argv:
setup(name="python-apt",
description="Python bindings for APT",
+ version=os.environ.get('DEBVER'),
author="APT Development Team",
author_email="deity@lists.debian.org",
ext_modules=[apt_pkg, apt_inst],