Skip to content

Commit 932daf7

Browse files
committed
Migrate to standard metadata supported in poetry 2
1 parent 9c42b5d commit 932daf7

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
[tool.poetry]
1+
[project]
22
name = "cycode"
3-
version = "0.0.0" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
43
description = "Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning."
5-
keywords=["secret-scan", "cycode", "devops", "token", "secret", "security", "cycode", "code"]
6-
authors = ["Cycode <support@cycode.com>"]
4+
keywords = ["secret-scan", "cycode", "devops", "token", "secret", "security", "code"]
5+
authors = [{name = "Cycode", email = "support@cycode.com"}]
76
license = "MIT"
8-
repository = "https://github.com/cycodehq/cycode-cli"
7+
requires-python = ">=3.9"
98
readme = "README.md"
109
classifiers = [
1110
"Development Status :: 5 - Production/Stable",
1211
"Environment :: Console",
13-
"License :: OSI Approved :: MIT License",
1412
"Natural Language :: English",
1513
"Operating System :: OS Independent",
1614
"Programming Language :: Python",
@@ -22,13 +20,19 @@ classifiers = [
2220
"Programming Language :: Python :: 3.13",
2321
"Programming Language :: Python :: 3.14",
2422
]
25-
requires-poetry = ">=2.0"
23+
dynamic = ["dependencies", "version"]
2624

27-
[tool.poetry.scripts]
25+
[project.scripts]
2826
cycode = "cycode.cli.app:app"
2927

28+
[project.urls]
29+
repository = "https://github.com/cycodehq/cycode-cli"
30+
31+
[tool.poetry]
32+
requires-poetry = ">=2.0"
33+
version = "0.0.0" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
34+
3035
[tool.poetry.dependencies]
31-
python = ">=3.9"
3236
click = ">=8.1.0,<8.2.0"
3337
colorama = ">=0.4.3,<0.5.0"
3438
pyyaml = ">=6.0,<7.0"
@@ -144,5 +148,5 @@ ban-relative-imports = "all"
144148
quote-style = "single"
145149

146150
[build-system]
147-
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
151+
requires = ["poetry-core>=2.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
148152
build-backend = "poetry_dynamic_versioning.backend"

0 commit comments

Comments
 (0)