-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (34 loc) · 1.36 KB
/
setup.py
File metadata and controls
37 lines (34 loc) · 1.36 KB
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
import os
from pathlib import Path
from setuptools import setup, find_packages, find_namespace_packages
from pkg_resources import parse_requirements
PACKAGE_INFO = {}
version_file = (Path("src/opentelemetry/instrumentation/digma") / "version.py").read_text()
exec(version_file, PACKAGE_INFO)
requires = [str(ir) for ir in parse_requirements(Path('requirements.txt').read_text())]
setup(
name='opentelemetry-instrumentation-digma',
version=PACKAGE_INFO['__version__'],
author='Roni Dover',
author_email='rdover@digma.ai',
description='Digma instrumentation for Python',
long_description=Path("README.md").read_text(),
long_description_content_type='text/markdown',
classifiers=[
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
],
package_dir={'': 'src'},
packages=find_namespace_packages('src'),
include_package_data=True,
python_requires='>=3.6',
install_requires=requires,
url="https://github.com/digma-ai/opentelemetry-instrumentation-digma",
project_urls={
'Bug Reports': 'https://github.com/digma-ai/opentelemetry-instrumentation-digma/issues',
'Source': 'https://github.com/digma-ai/opentelemetry-instrumentation-digma/',
}
)