-
Notifications
You must be signed in to change notification settings - Fork 102
/
setup.py
70 lines (65 loc) · 2.2 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
# Copyright 2023 Canonical Ltd.
# Licensed under the Apache V2, see LICENCE file for details.
"""Building this package."""
from pathlib import Path
from setuptools import find_packages, setup
from juju.version import CLIENT_VERSION
here = Path(__file__).absolute().parent
readme = here / "docs" / "readme.rst"
changelog = here / "docs" / "changelog.rst"
long_description = f"{readme.read_text()}\n\n{changelog.read_text()}"
long_description_content_type = "text/x-rst"
setup(
name="juju",
version=CLIENT_VERSION.strip(),
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={"juju": ["py.typed"]},
install_requires=[
"macaroonbakery>=1.1,<2.0",
"pyRFC3339>=1.0,<2.0",
"pyyaml>=5.1.2",
"websockets>=13.0.1",
"paramiko>=2.4.0",
"pyasn1>=0.4.4",
"toposort>=1.5,<2",
"typing_inspect>=0.6.0",
"kubernetes>=12.0.1,<31.0.0",
"hvac",
"packaging",
"typing-extensions>=4.5.0",
'backports.strenum>=1.3.1; python_version < "3.11"',
],
extras_require={
"dev": [
"typing-inspect",
"pytest",
"pytest-asyncio",
"Twine",
"freezegun",
]
},
include_package_data=True,
maintainer="Juju Ecosystem Engineering",
maintainer_email="[email protected]",
description=("Python library for Juju"),
long_description=long_description,
long_description_content_type=long_description_content_type,
url="https://github.com/juju/python-libjuju",
license="Apache 2",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
entry_points={
"console_scripts": [],
},
)