forked from canonical/python-libmaas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
80 lines (72 loc) · 2.13 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
"""Setuptools installer for python-libmaas."""
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='python-libmaas',
author='MAAS Developers',
author_email='maas-devel@lists.launchpad.net',
url='https://github.com/maas/python-libmaas',
version="0.6.8",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries',
],
namespace_packages=['maas'],
packages=find_packages(
include={"maas", "maas.*"},
exclude={"*.tests", "*.testing"},
),
package_data={
'maas.client.bones.testing': ['*.json'],
},
install_requires=[
"aiohttp >= 2.0.0, < 4.0.0a0",
"argcomplete >= 1.0",
"colorclass >= 1.2.0",
"macaroonbakery >= 1.1.3",
"oauthlib >= 1.0.3",
"packaging >= 21.3",
"pymongo >= 3.5.1", # for bson
"pytz >= 2014.10",
"PyYAML >= 3.11",
"terminaltables >= 2.1.0",
],
test_suite="maas.client",
tests_require=[
"django >= 2.2.4, < 3.0",
"fixtures >= 1.0.0",
"setuptools",
"testscenarios",
"testtools",
"Twisted<23.0.0",
],
description="A client API library specially for MAAS.",
long_description=read('README'),
long_description_content_type='text/markdown',
entry_points={
"console_scripts": {
"maas = maas.client.flesh:main",
},
},
)