Skip to content

Commit ea76c6d

Browse files
committed
Change the project to use pyproject conventions and bump version
1 parent ceb0d18 commit ea76c6d

File tree

4 files changed

+61
-148
lines changed

4 files changed

+61
-148
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "opentelemetry-instrumentation-aiohttp-server"
7+
dynamic = ["version"]
8+
description = "Aiohttp server instrumentation for OpenTelemetry"
9+
readme = "README.rst"
10+
license = "Apache-2.0"
11+
requires-python = ">=3.7"
12+
authors = [
13+
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io"}
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.6",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11"
27+
]
28+
dependencies = [
29+
"opentelemetry-api ~= 1.12",
30+
"opentelemetry-instrumentation == 0.39b0.dev",
31+
"opentelemetry-semantic-conventions == 0.39b0.dev",
32+
"opentelemetry-util-http == 0.39b0.dev",
33+
"wrapt >= 1.0.0, < 2.0.0",
34+
]
35+
36+
[project.optional-dependencies]
37+
instruments = [
38+
"aiohttp ~= 3.0",
39+
]
40+
test = [
41+
"opentelemetry-instrumentation-aiohttp-server[instruments]",
42+
]
43+
44+
[project.entry-points.opentelemetry_instrumentor]
45+
aiohttp-client = "opentelemetry.instrumentation.aiohttp_server:AioHttpServerInstrumentor"
46+
47+
[project.urls]
48+
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-aiohttp-server"
49+
50+
[tool.hatch.version]
51+
path = "src/opentelemetry/instrumentation/aiohttp_server/version.py"
52+
53+
[tool.hatch.build.targets.sdist]
54+
include = [
55+
"/src",
56+
"/tests",
57+
]
58+
59+
[tool.hatch.build.targets.wheel]
60+
packages = ["src/opentelemetry"]

instrumentation/opentelemetry-instrumentation-aiohttp-server/setup.cfg

-58
This file was deleted.

instrumentation/opentelemetry-instrumentation-aiohttp-server/setup.py

-89
This file was deleted.

instrumentation/opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.38b0.dev"
15+
__version__ = "0.39b0.dev"

0 commit comments

Comments
 (0)