-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
setup.py
executable file
·76 lines (69 loc) · 1.67 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
from setuptools import setup, find_packages
import pathlib
# Get path to parent folder
here = pathlib.Path(__file__).parent.resolve()
# long_description = README.md
long_description = (here / 'README.md').read_text(encoding='utf-8')
'''
with open("README.md", "r") as fh:
long_description = fh.read()
'''
version = "0.0.5"
github = 'https://github.com/netdevopsbr/netbox-proxbox'
name = "netbox-proxbox"
python_min_version = "3.10"
# Proxbox dependencies
requires = [
'numpy',
'poetry',
'invoke',
'requests>=2',
'pynetbox>=5',
'proxmoxer>=1',
'fastapi[all]',
'starlette',
'uvicorn[standard]',
'websockets',
'jinja2',
'ujson>=5.7.0',
'orjson>=3.8.9',
'httpcore',
'pydantic',
]
dev_requires = [
'pytest>=3.7',
'check-manifest',
'twine',
'setuptools',
'wheel'
]
setup(
name=name,
version=version,
author="Emerson Felipe",
author_email="[email protected]",
description="Integration between Proxmox and Netbox",
url=github,
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"Framework :: Django",
"Operating System :: Unix",
"License :: OSI Approved :: Apache Software License",
],
keywords="netbox netbox-plugin plugin proxmox proxmoxer pynetbox",
project_urls={
'Source': github,
},
packages=find_packages(),
include_package_data=True,
package_data={
"": ['*','*/*','*/*/*'],
},
install_requires=requires,
extras_require={
"dev": dev_requires,
},
python_requires= f'>={python_min_version}',
)