Skip to content

Commit 4c80bc7

Browse files
authored
Update package metadata opentelemetry-instrumentation-jinja2 (#1282)
1 parent e80539c commit 4c80bc7

File tree

4 files changed

+57
-153
lines changed

4 files changed

+57
-153
lines changed

instrumentation/opentelemetry-instrumentation-jinja2/MANIFEST.in

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

instrumentation/opentelemetry-instrumentation-jinja2/setup.cfg

Lines changed: 0 additions & 55 deletions
This file was deleted.

instrumentation/opentelemetry-instrumentation-jinja2/setup.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)