Last change
on this file since 2883 was
2561,
checked in by broder, 15 years ago
|
Update invirt-base's setup.py to deal with invirt.authz module.
|
-
Property svn:executable set to
*
|
File size:
728 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 |
---|
[2151] | 7 | from glob import glob |
---|
[2561] | 8 | from setuptools import setup, find_packages |
---|
[1206] | 9 | |
---|
[1208] | 10 | version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\ |
---|
[1206] | 11 | get_version().full_version |
---|
| 12 | |
---|
[1208] | 13 | maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer'] |
---|
[1206] | 14 | maintainer, maintainer_email = parseaddr(maintainer_full) |
---|
| 15 | |
---|
| 16 | setup( |
---|
| 17 | name='invirt', |
---|
| 18 | version=version, |
---|
| 19 | maintainer=maintainer, |
---|
| 20 | maintainer_email=maintainer_full, |
---|
| 21 | |
---|
[2561] | 22 | packages = find_packages('python'), |
---|
[1206] | 23 | package_dir = {'': 'python'}, |
---|
[2151] | 24 | scripts=glob('scripts/*') |
---|
[1206] | 25 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.