Last change
on this file since 2813 was
2637,
checked in by broder, 15 years ago
|
Include invirt-submit-build in the invirt-dev install.
|
-
Property svn:executable set to
*
|
File size:
762 bytes
|
Rev | Line | |
---|
[2547] | 1 | #!/usr/bin/python |
---|
| 2 | |
---|
| 3 | from os import path |
---|
| 4 | from debian_bundle.changelog import Changelog |
---|
| 5 | from debian_bundle.deb822 import Deb822 |
---|
| 6 | from email.utils import parseaddr |
---|
| 7 | from glob import glob |
---|
| 8 | from setuptools import setup |
---|
| 9 | |
---|
| 10 | version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\ |
---|
| 11 | get_version().full_version |
---|
| 12 | |
---|
| 13 | maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer'] |
---|
| 14 | maintainer, maintainer_email = parseaddr(maintainer_full) |
---|
| 15 | |
---|
| 16 | setup( |
---|
| 17 | name='invirt.builder', |
---|
| 18 | version=version, |
---|
| 19 | maintainer=maintainer, |
---|
| 20 | maintainer_email=maintainer_email, |
---|
| 21 | |
---|
| 22 | py_modules = ['invirt.builder'], |
---|
| 23 | package_dir = {'': 'python'}, |
---|
[2637] | 24 | scripts = ['invirtibuilder', 'invirt-build-conf', 'invirt-submit-build'] |
---|
[2547] | 25 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.