3
by Matthew Wedgwood
Initial import of charmsupport |
1 |
from distutils.core import setup |
2 |
import os |
|
3 |
||
4 |
||
5 |
version_file = os.path.abspath(os.path.join(os.path.dirname(__file__), |
|
6 |
'VERSION')) |
|
7 |
with open(version_file) as v: |
|
8 |
VERSION = v.read().strip() |
|
9 |
||
10 |
||
11 |
SETUP = { |
|
4
by Matthew Wedgwood
Fixup for charmsupport, adopt package infrastructure |
12 |
'name': "charmhelpers", |
3
by Matthew Wedgwood
Initial import of charmsupport |
13 |
'version': VERSION, |
4
by Matthew Wedgwood
Fixup for charmsupport, adopt package infrastructure |
14 |
'author': "Ubuntu Developers", |
15 |
'author_email': "ubuntu-devel-discuss@lists.ubuntu.com", |
|
16 |
'url': "https://code.launchpad.net/charm-helpers", |
|
11.3.2
by Michael Nelson
Add contrib packages to setup.py |
17 |
'packages': [ |
18 |
"charmhelpers", |
|
20.8.10
by Matthew Wedgwood
Include CLI when charmhelpers is installed |
19 |
"charmhelpers.cli", |
18
by Matthew Wedgwood
Include new submodules from previous commits |
20 |
"charmhelpers.core", |
21 |
"charmhelpers.fetch", |
|
22 |
"charmhelpers.payload", |
|
24.2.5
by Michael Nelson
Include the contrib module so that setup install adds the __init__.py. |
23 |
"charmhelpers.contrib", |
44.2.2
by Michael Nelson
Add ansible to installed packages. |
24 |
"charmhelpers.contrib.ansible", |
11.3.2
by Michael Nelson
Add contrib packages to setup.py |
25 |
"charmhelpers.contrib.charmhelpers", |
26 |
"charmhelpers.contrib.charmsupport", |
|
24.2.8
by Michael Nelson
s/saltstates/saltstack |
27 |
"charmhelpers.contrib.saltstack", |
11.3.2
by Michael Nelson
Add contrib packages to setup.py |
28 |
"charmhelpers.contrib.hahelpers", |
29 |
"charmhelpers.contrib.jujugui", |
|
90.1.6
by Michael Nelson
Include templating package in setup.py. |
30 |
"charmhelpers.contrib.templating", |
11.3.2
by Michael Nelson
Add contrib packages to setup.py |
31 |
],
|
24.2.10
by Michael Nelson
Add salt-call wrapper. |
32 |
'scripts': [ |
20.8.10
by Matthew Wedgwood
Include CLI when charmhelpers is installed |
33 |
"bin/chlp", |
24.2.10
by Michael Nelson
Add salt-call wrapper. |
34 |
"bin/contrib/charmsupport/charmsupport", |
35 |
"bin/contrib/saltstack/salt-call", |
|
36 |
],
|
|
4
by Matthew Wedgwood
Fixup for charmsupport, adopt package infrastructure |
37 |
'license': "Affero GNU Public License v3", |
3
by Matthew Wedgwood
Initial import of charmsupport |
38 |
'long_description': open('README.txt').read(), |
39 |
}
|
|
40 |
||
41 |
||
42 |
if __name__ == '__main__': |
|
43 |
setup(**SETUP) |