Skip to content

Commit

Permalink
Update package metadata opentelemetry-instrumentation-flask (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored Sep 13, 2022
1 parent 844e667 commit 119ec96
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 156 deletions.

This file was deleted.

60 changes: 60 additions & 0 deletions instrumentation/opentelemetry-instrumentation-flask/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "opentelemetry-instrumentation-flask"
dynamic = ["version"]
description = "Flask instrumentation for OpenTelemetry"
readme = "README.rst"
license = "Apache-2.0"
requires-python = ">=3.7"
authors = [
{ name = "OpenTelemetry Authors", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.33b0",
"opentelemetry-instrumentation-wsgi == 0.33b0",
"opentelemetry-semantic-conventions == 0.33b0",
"opentelemetry-util-http == 0.33b0",
]

[project.optional-dependencies]
instruments = [
"flask >= 1.0, < 3.0",
]
test = [
"opentelemetry-instrumentation-flask[instruments]",
"markupsafe==2.0.1",
"opentelemetry-test-utils == 0.33b0",
]

[project.entry-points.opentelemetry_instrumentor]
flask = "opentelemetry.instrumentation.flask:FlaskInstrumentor"

[project.urls]
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-flask"

[tool.hatch.version]
path = "src/opentelemetry/instrumentation/flask/version.py"

[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
]

[tool.hatch.build.targets.wheel]
packages = ["src/opentelemetry"]
58 changes: 0 additions & 58 deletions instrumentation/opentelemetry-instrumentation-flask/setup.cfg

This file was deleted.

89 changes: 0 additions & 89 deletions instrumentation/opentelemetry-instrumentation-flask/setup.py

This file was deleted.

0 comments on commit 119ec96

Please sign in to comment.