-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (41 loc) · 1.38 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
BASE_DIR = os.path.dirname(__file__)
PACKAGE_INFO = {}
VERSION_FILENAME = os.path.join(BASE_DIR, "nameko_opentelemetry", "version.py")
with open(VERSION_FILENAME) as f:
exec(f.read(), PACKAGE_INFO)
PACKAGE_FILENAME = os.path.join(BASE_DIR, "nameko_opentelemetry", "package.py")
with open(PACKAGE_FILENAME) as f:
exec(f.read(), PACKAGE_INFO)
setup(
name="opentelemetry-instrumentation-nameko",
description="Nameko extension producing opentelemetry data",
python_requires=">=3.7",
version=PACKAGE_INFO["__version__"],
author="Nameko Authors",
url="https://github.com/nameko/opentelemetry-instrumentation-nameko",
packages=find_packages(exclude=["test", "test.*"]),
install_requires=[
"nameko>=3.0.0rc9",
"opentelemetry-api",
"opentelemetry-instrumentation",
"opentelemetry-instrumentation-wsgi",
"importlib-metadata<5 ; python_version<='3.7'",
],
extras_require={
"dev": list(PACKAGE_INFO["_instruments"])
+ [
"coverage",
"pytest",
"opentelemetry-sdk",
"opentelemetry-instrumentation-requests",
],
"instruments": PACKAGE_INFO["_instruments"],
},
dependency_links=[],
zip_safe=True,
license="Apache License, Version 2.0",
)