From 3bbb577e8a47ed05041c2532531e0e263f821c2c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 12 Apr 2009 19:10:48 +0200 Subject: 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. --- setup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.py') 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], -- cgit v1.2.3