Skip to content

Commit 844e667

Browse files
authored
Update package metadata opentelemetry-instrumentation-grpc (#1280)
1 parent 0975b24 commit 844e667

File tree

4 files changed

+62
-158
lines changed

4 files changed

+62
-158
lines changed

instrumentation/opentelemetry-instrumentation-grpc/MANIFEST.in

-9
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "opentelemetry-instrumentation-grpc"
7+
dynamic = ["version"]
8+
description = "OpenTelemetry gRPC instrumentation"
9+
readme = "README.rst"
10+
license = "Apache-2.0"
11+
requires-python = ">=3.7"
12+
authors = [
13+
{ name = "OpenTelemetry Authors", email = "[email protected]" },
14+
]
15+
classifiers = [
16+
"Development Status :: 4 - Beta",
17+
"Intended Audience :: Developers",
18+
"License :: OSI Approved :: Apache Software License",
19+
"Programming Language :: Python",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.7",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
]
26+
dependencies = [
27+
"opentelemetry-api ~= 1.12",
28+
"opentelemetry-instrumentation == 0.33b0",
29+
"opentelemetry-sdk ~= 1.12",
30+
"opentelemetry-semantic-conventions == 0.33b0",
31+
"wrapt >= 1.0.0, < 2.0.0",
32+
]
33+
34+
[project.optional-dependencies]
35+
instruments = [
36+
"grpcio ~= 1.27",
37+
]
38+
test = [
39+
"opentelemetry-instrumentation-grpc[instruments]",
40+
"opentelemetry-sdk ~= 1.12",
41+
"opentelemetry-test-utils == 0.33b0",
42+
"protobuf ~= 3.13",
43+
]
44+
45+
[project.entry-points.opentelemetry_instrumentor]
46+
grpc_client = "opentelemetry.instrumentation.grpc:GrpcInstrumentorClient"
47+
grpc_server = "opentelemetry.instrumentation.grpc:GrpcInstrumentorServer"
48+
49+
[project.urls]
50+
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc"
51+
52+
[tool.hatch.version]
53+
path = "src/opentelemetry/instrumentation/grpc/version.py"
54+
55+
[tool.hatch.build.targets.sdist]
56+
include = [
57+
"/src",
58+
"/tests",
59+
]
60+
61+
[tool.hatch.build.targets.wheel]
62+
packages = ["src/opentelemetry"]

instrumentation/opentelemetry-instrumentation-grpc/setup.cfg

-60
This file was deleted.

instrumentation/opentelemetry-instrumentation-grpc/setup.py

-89
This file was deleted.

0 commit comments

Comments
 (0)