Skip to content

Commit

Permalink
Migrate kedro-telemetry to static metadata (kedro-org#174)
Browse files Browse the repository at this point in the history
* Migrate kedro-telemetry to static metadata

See kedro-org/kedro#2334.

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

* Add release notes

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

---------

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Signed-off-by: jmcdonnell <jmcdonnell@fieldbox.ai>
  • Loading branch information
astrojuanlu authored and jmcdonnell committed May 11, 2023
1 parent a4d71f4 commit 82a1f79
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 44 deletions.
3 changes: 3 additions & 0 deletions kedro-telemetry/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Upcoming release
* Migrate all project metadata to static `pyproject.toml`.

# Release 0.2.4
* Added consent checking for collecting project statistics.

Expand Down
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 82a1f79

Please sign in to comment.