- Timestamp:
- Oct 24, 2008, 5:47:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-base/setup.py
r1206 r1208 1 1 #!/usr/bin/python 2 2 3 import os 3 from os import path 4 4 from debian_bundle.changelog import Changelog 5 5 from debian_bundle.deb822 import Deb822 … … 7 7 from setuptools import setup 8 8 9 version = Changelog(open( os.path.join(__file__, 'debian/changelog')).read()).\9 version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\ 10 10 get_version().full_version 11 11 12 maintainer_full = Deb822(open( os.path.join(__file__, 'debian/control')))['Maintainer']12 maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer'] 13 13 maintainer, maintainer_email = parseaddr(maintainer_full) 14 14 … … 19 19 maintainer_email=maintainer_full, 20 20 21 packages = ['invirt'], 21 22 package_dir = {'': 'python'}, 22 23 scripts=['scripts/invirt-getconf', 'scripts/invirt-reload']
Note: See TracChangeset
for help on using the changeset viewer.