-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (66 loc) · 2.05 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
import os
from setuptools import find_packages, setup
with open("README.md", "r") as f:
long_description = f.read()
with open("requirements.txt", "r") as f:
REQUIREMENTS = f.readlines()
VERSION = os.getenv("PACKAGE_VERSION", "2.0.3")
EXTRAS = {
"honcho": [
"honcho==1.0.1",
],
"opentelemetry": [
"opentelemetry-distro==0.26b1",
"opentelemetry-instrumentation==0.26b1",
"opentelemetry-exporter-otlp==1.7.1",
],
"kafka": [
"confluent-kafka==1.9.0",
],
"trend-app": [
"trend-app-protect==4.6.2",
],
"watchdog": [
"dramatiq[watch]",
],
"prometheus": [
"prometheus-flask-exporter~=0.20.3",
],
}
EXTRAS["all"] = list(set(sum(EXTRAS.values(), [])))
setup(
name="licenseware",
version=VERSION,
description="Common utilities for licenseware.",
url="https://licenseware.io/",
author="Licenseware",
author_email="contact@licenseware.io",
license="Apache License 2.0",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=REQUIREMENTS,
packages=find_packages(where=".", exclude=["tests"]),
include_package_data=True,
package_data={"": ["*"]},
python_requires="==3.8.*",
entry_points={
"console_scripts": [
"licenseware=licenseware.cli:cli_entrypoint",
],
},
extras_require=EXTRAS,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Flask",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)