Last change
on this file since 1807 was
1330,
checked in by price, 16 years ago
|
sipb-xen-base -> invirt-base
|
-
Property svn:executable set to
*
|
File size:
712 bytes
|
Rev | Line | |
---|
[1206] | 1 | #!/usr/bin/python |
---|
| 2 | |
---|
[1208] | 3 | from os import path |
---|
[1206] | 4 | from debian_bundle.changelog import Changelog |
---|
| 5 | from debian_bundle.deb822 import Deb822 |
---|
| 6 | from email.utils import parseaddr |
---|
| 7 | from setuptools import setup |
---|
| 8 | |
---|
[1208] | 9 | version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\ |
---|
[1206] | 10 | get_version().full_version |
---|
| 11 | |
---|
[1208] | 12 | maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer'] |
---|
[1206] | 13 | maintainer, maintainer_email = parseaddr(maintainer_full) |
---|
| 14 | |
---|
| 15 | setup( |
---|
| 16 | name='invirt', |
---|
| 17 | version=version, |
---|
| 18 | maintainer=maintainer, |
---|
| 19 | maintainer_email=maintainer_full, |
---|
| 20 | |
---|
[1208] | 21 | packages = ['invirt'], |
---|
[1206] | 22 | package_dir = {'': 'python'}, |
---|
| 23 | scripts=['scripts/invirt-getconf', 'scripts/invirt-reload'] |
---|
| 24 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.