Last change
on this file since 2813 was
2766,
checked in by broder, 15 years ago
|
Have authz providers use an invirt.authz module.
xvm-authz-locker now includes an invirt.authz module instead of
xvm.authz.locker. All authz providers conflict with each other, and
provide invirt-authz.
|
-
Property svn:executable set to
*
|
File size:
828 bytes
|
Rev | Line | |
---|
[2602] | 1 | #!/usr/bin/python |
---|
| 2 | |
---|
| 3 | from os import path |
---|
| 4 | from email.utils import parseaddr |
---|
| 5 | from glob import glob |
---|
[2766] | 6 | from setuptools import setup |
---|
[2602] | 7 | |
---|
| 8 | try: |
---|
| 9 | from debian_bundle.changelog import Changelog |
---|
| 10 | from debian_bundle.deb822 import Deb822 |
---|
| 11 | version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\ |
---|
| 12 | get_version().full_version |
---|
| 13 | |
---|
| 14 | maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer'] |
---|
| 15 | maintainer, maintainer_email = parseaddr(maintainer_full) |
---|
| 16 | except: |
---|
| 17 | version = '0.0.0' |
---|
| 18 | maintainer, maintainer_email = parseaddr('Invirt project <invirt@mit.edu>') |
---|
| 19 | |
---|
| 20 | setup( |
---|
| 21 | name='xvm.authz.locker', |
---|
| 22 | version=version, |
---|
| 23 | maintainer=maintainer, |
---|
| 24 | maintainer_email=maintainer_email, |
---|
| 25 | |
---|
[2766] | 26 | py_modules = ['invirt.authz'], |
---|
[2602] | 27 | package_dir = {'': 'python'}, |
---|
| 28 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.