forked from canonical/maas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
89 lines (77 loc) · 2.55 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
79
80
81
82
83
84
85
86
87
88
89
# Copyright 2012-2019 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Setuptools installer for MAAS."""
from os.path import (
dirname,
join,
)
from setuptools import (
find_packages,
setup,
)
# The directory in which setup.py lives.
here = dirname(__file__)
def read(filename):
"""Return the whitespace-stripped content of `filename`."""
path = join(here, filename)
with open(path, "r") as fin:
return fin.read().strip()
setup(
name="maas",
version="1.10a1",
url="https://launchpad.net/maas",
license="AGPLv3",
description="Metal As A Service",
long_description=read('README.rst'),
author="MAAS Developers",
author_email="maas-devel@lists.launchpad.net",
packages=find_packages(
where='src',
exclude=[
"*.testing",
"*.tests",
"maastesting",
"maastesting.*",
],
),
package_dir={'': 'src'},
include_package_data=True,
data_files=[
('/etc/maas',
['etc/maas/drivers.yaml']),
('/usr/share/maas',
['contrib/maas-http.conf']),
('/etc/maas/preseeds',
['contrib/preseeds_v2/commissioning',
'contrib/preseeds_v2/enlist',
'contrib/preseeds_v2/curtin',
'contrib/preseeds_v2/curtin_userdata',
'contrib/preseeds_v2/curtin_userdata_centos',
'contrib/preseeds_v2/curtin_userdata_custom',
'contrib/preseeds_v2/curtin_userdata_suse',
'contrib/preseeds_v2/curtin_userdata_windows']),
('/usr/bin',
['scripts/maas-generate-winrm-cert',
'scripts/uec2roottar']),
('/usr/sbin',
['scripts/maas-dhcp-helper']),
('/usr/lib/maas',
['scripts/dhcp-monitor',
'scripts/beacon-monitor',
'scripts/network-monitor',
'scripts/maas-delete-file',
'scripts/maas-test-enlistment',
'scripts/maas-write-file',
'scripts/unverified-ssh']),
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: POSIX :: Linux',
'Programming Language :: JavaScript',
'Programming Language :: Python :: 3',
'Topic :: System :: Systems Administration',
],
)