-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
85 lines (82 loc) · 2.91 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
#
# This file is part of NoCloud.Net.
#
# Copyright (C) 2022 Last Bastion Network Pty Ltd
#
# NoCloud.Net is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# NoCloud.Net is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# NoCloud.Net. If not, see <https://www.gnu.org/licenses/>.
#
from setuptools import setup, find_packages
with open('README.md') as fh:
long_description = fh.read()
setup(name='noclouddotnet',
version='1.0.5',
description='NoCloudNet Datasource/Metadata server for cloud-init',
long_description=long_description,
author='Alan Milligan',
author_email='[email protected]',
url='http://linux.last-bastion.net',
license='GPL',
project_urls={
'Documentation': 'https://noclouddotnet.readthedocs.io/',
'Source': 'https://github.com/milligana/noclouddotnet/',
'Tracker': 'https://github.com/milligana/noclouddotnet/issues',
},
classifiers=[
"Framework :: Flask",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: System :: Boot :: Init",
"Topic :: System :: Operating System Kernels :: Linux"
],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
install_requires=[
'Flask>=2.0',
'PyYAML',
'Flask_Migrate',
'dynaconf',
'dnspython',
'prometheus-flask-exporter',
'stevedore',
],
extras_require = {
# moved to requirements-docs.txt for readthedocs
#'docs': [
# 'doc8',
# 'm2r2',
# 'sphinx',
# 'sphinx_git',
# 'sphinx_rtd_theme',
# 'sphinxcontrib.programoutput',
#],
'jaeger': [
'Flask-OpenTracing',
'jaeger-client',
],
'test': [
'tox',
'pytest-cov',
'pytest-flask',
],
'prospector': [
'prospector[with_everything]',
]
},
entry_points = {
"noclouddotnet.instanceid": [
"simple = noclouddotnet.instance.instanceid:instance_id_hostname_simple",
"reversedns = noclouddotnet.instance.instanceid:instance_id_hostname",
]
}
)