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
|
#!/usr/bin/env python2.7
# Copyright 2012 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Distutils installer for maas."""
from __future__ import (
print_function,
unicode_literals,
)
from os.path import (
dirname,
join,
)
import distribute_setup
# The version of distribute packaged in precise is not quite at 0.6.24
# final yet so we need to override the required version here to stop a
# recipe build from trying to download from pypi.
distribute_setup.use_setuptools(version="0.6.24dev-r0")
from setuptools import (
find_packages,
setup,
)
def read(filename):
"""Return the whitespace-stripped content of `filename`."""
path = join(dirname(__file__), filename)
with open(path, "rb") as fin:
return fin.read().strip()
__version__ = "0.1"
setup(
name="maas",
version=__version__,
url="https://launchpad.net/maas",
license="GPL",
description="Metal as as Service",
long_description=read('README.txt'),
author="MaaS Developers",
author_email="juju@lists.ubuntu.com",
packages=find_packages(
where=b'src',
exclude=[
b"maastesting",
b"maastesting.*",
]
),
package_dir={'': b'src'},
install_requires=['setuptools'],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
"Intended Audience :: System Administrators",
'License :: OSI Approved :: GPL License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
]
)
|