-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (44 loc) · 1.54 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
import setuptools
import io
from os import path as os_path
this_directory = os_path.abspath(os_path.dirname(__file__))
def read_file(filename):
with io.open(
os_path.join(this_directory, filename), encoding="utf-8"
) as f:
long_description = f.read()
return long_description
with open("README.md", "r") as fh:
long_description = fh.read()
def read_requirements(filename):
return [
line.strip()
for line in read_file(filename).splitlines()
if not line.startswith("#")
]
setuptools.setup(
name="django_istio_opentracing",
version="1.0.3",
author="Du Wei",
author_email="[email protected]",
description="Django opentracing middleware works with k8s and istio",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wesdu/django-istio-opentracing",
keywords=["django", "istio", "k8s", "opentracing"],
packages=setuptools.find_packages(),
install_requires=read_requirements("requirements.txt"),
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: Django :: 1.9",
"Framework :: Django :: 1.10",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)