This repository has been archived by the owner on Dec 16, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
78 lines (68 loc) · 2.43 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python3
# -*- mode: python; -*-
#
# setup.py - MAAS distutils setup
#
# Copyright 2014 Canonical, Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This package is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
openstack
=========
Ubuntu OpenStack Installer provides an extremely simple way to
install, deploy and scale an OpenStack cloud on top of Ubuntu server
and Juju. Deploy onto a single physical system using virtual machines
for testing, or use MAAS to deploy onto a cluster of any size.
Documentation
-------------
`Located at ReadTheDocs<http://ubuntu-cloud-installer.rtfd.org>`_
"""
from setuptools import setup, find_packages
import os
import sys
import cloudinstall
REQUIREMENTS = [
"urwid",
"PyYAML",
"six",
"requests",
"requests_oauthlib"
]
TEST_REQUIREMENTS = list(REQUIREMENTS)
TEST_REQUIREMENTS.extend(["mock", "nose"])
if sys.argv[-1] == 'clean':
print("Cleaning up ...")
os.system('rm -rf cloud_installer.egg-info build dist')
sys.exit()
setup(name='openstack',
version=cloudinstall.__version__,
description="Openstack private cloud with Ubuntu Openstack installer",
long_description=__doc__,
author='Canonical Solutions Engineering',
author_email='[email protected]',
url='https://github.com/Ubuntu-Solutions-Engineering/openstack',
license="AGPLv3+",
scripts=['bin/openstack-install',
'bin/openstack-uninstall',
'bin/openstack-status',
'bin/openstack-juju',
'bin/openstack-config'],
packages=find_packages(exclude=["test"]),
data_files=[
('share/man/man1', ['man/en/openstack-status.1',
'man/en/openstack-install.1',
'man/en/openstack-uninstall.1',
'man/en/openstack-juju.1']),
('share/man/man5', ['man/en/openstack-config.5'])
])