Skip to content

Commit

Permalink
Migrate kedro-telemetry to static metadata
Browse files Browse the repository at this point in the history
See kedro-org/kedro#2334.

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
  • Loading branch information
astrojuanlu committed Apr 17, 2023
1 parent 2db466a commit 4353eed
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 44 deletions.
38 changes: 38 additions & 0 deletions kedro-telemetry/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "kedro-telemetry"
authors = [
{name = "Kedro"}
]
description = "Kedro-Telemetry"
requires-python = ">=3.7, <3.11"
license = {text = "Apache Software License (Apache 2.0)"}
dependencies = [
"kedro~=0.18.0",
"requests~=2.20",
]
dynamic = ["readme", "version"]

[project.urls]
Source = "https://github.com/kedro-org/kedro-plugins/tree/main/kedro-telemetry"
Documentation = "https://github.com/kedro-org/kedro-plugins/blob/main/kedro-telemetry/README.md"
Tracker = "https://github.com/kedro-org/kedro-plugins/issues"

[project.entry-points."kedro.cli_hooks"]
kedro-telemetry = "kedro_telemetry.plugin:cli_hooks"

[project.entry-points."kedro.hooks"]
kedro-telemetry = "kedro_telemetry.plugin:project_hooks"

[tool.setuptools]
include-package-data = true
packages = ["kedro_telemetry"]
zip-safe = false

[tool.setuptools.dynamic]
readme = {file = "README.md", content-type = "text/markdown"}
version = {attr = "kedro_telemetry.__version__"}

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
Expand Down
2 changes: 0 additions & 2 deletions kedro-telemetry/requirements.txt

This file was deleted.

41 changes: 0 additions & 41 deletions kedro-telemetry/setup.py

This file was deleted.

1 change: 0 additions & 1 deletion kedro-telemetry/test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-r requirements.txt
bandit>=1.6.2, <2.0
behave
black~=22.0
Expand Down

0 comments on commit 4353eed

Please sign in to comment.