projects
/
invirt/packages/invirt-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rephrase the invirt.authz.locker._authenticate docstring for clarity.
[invirt/packages/invirt-base.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
8f97297
..
d2d6f63
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-1,15
+1,16
@@
#!/usr/bin/python
#!/usr/bin/python
-import os
+from os import path
from debian_bundle.changelog import Changelog
from debian_bundle.deb822 import Deb822
from email.utils import parseaddr
from debian_bundle.changelog import Changelog
from debian_bundle.deb822 import Deb822
from email.utils import parseaddr
-from setuptools import setup
+from glob import glob
+from setuptools import setup, find_packages
-version = Changelog(open(os.path.join(__file__, 'debian/changelog')).read()).\
+version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\
get_version().full_version
get_version().full_version
-maintainer_full = Deb822(open(os.path.join(__file__, 'debian/control')))['Maintainer']
+maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer']
maintainer, maintainer_email = parseaddr(maintainer_full)
setup(
maintainer, maintainer_email = parseaddr(maintainer_full)
setup(
@@
-18,6
+19,7
@@
setup(
maintainer=maintainer,
maintainer_email=maintainer_full,
maintainer=maintainer,
maintainer_email=maintainer_full,
+ packages = find_packages('python'),
package_dir = {'': 'python'},
package_dir = {'': 'python'},
- scripts=['scripts/invirt-getconf', 'scripts/invirt-reload']
+ scripts=glob('scripts/*')
)
)