diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-12 19:10:48 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-12 19:10:48 +0200 |
| commit | 3bbb577e8a47ed05041c2532531e0e263f821c2c (patch) | |
| tree | 3ffb82dffe96e52ecf7471f6782cfaa60267b68b /setup.py | |
| parent | 8e4f00f1b6349b55eebce3c9cccbcab7ab438a85 (diff) | |
| download | python-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-x | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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], |
