-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
71 lines (65 loc) · 2.68 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
import os
from setuptools import (
find_namespace_packages,
setup,
)
DESCRIPTION = 'Snowflake Telemetry for Python'
LONG_DESCRIPTION = """This package provides a set of telemetry APIs for developers building on the Snowflake platform.
Documentation is available at: https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-python
Source code is also available at: https://github.com/snowflakedb/snowflake-telemetry-python
"""
SNOWFLAKE_TELEMETRY_SRC_DIR = os.path.join("src", "snowflake", "telemetry")
VERSION = None
with open(os.path.join(SNOWFLAKE_TELEMETRY_SRC_DIR, "version.py"), encoding="utf-8") as f:
exec(f.read())
setup(
name="snowflake-telemetry-python",
version=VERSION,
author="Snowflake, Inc",
author_email="[email protected]",
url="https://www.snowflake.com/",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
install_requires=[
"opentelemetry-api == 1.26.0",
"opentelemetry-exporter-otlp-proto-common == 1.26.0",
"opentelemetry-sdk == 1.26.0",
],
packages=find_namespace_packages(
where='src'
),
package_dir={
"": "src",
},
keywords="Snowflake db database cloud analytics warehouse",
classifiers=[
"Development Status :: 1 - Planning",
"Environment :: Console",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: SQL",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Information Analysis",
],
project_urls={
"Homepage": "https://www.snowflake.com/",
"Changelog": "https://github.com/snowflakedb/snowflake-telemetry-python/blob/main/CHANGELOG.md",
"Documentation": "https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-python",
"Issues": "https://github.com/snowflakedb/snowflake-telemetry-python/issues",
"Repository": "https://github.com/snowflakedb/snowflake-telemetry-python/",
},
zip_safe=True,
)