Skip to content

Commit f682e65

Browse files
committed
replace poetry to pdm
1 parent dd4f857 commit f682e65

File tree

1 file changed

+40
-16
lines changed

1 file changed

+40
-16
lines changed

pyproject.toml

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,50 @@
1-
[tool.poetry]
1+
[project]
22
name = "fastapi_ccli"
33
version = "0.0.1"
44
description = "Tool to automatically clone existing fastapi repositories based on command line conditions"
5-
authors = ["wu <jianhengwu0407@gmail.com>"]
6-
license = "MIT"
5+
authors = [
6+
{ name = "Wu Clan", email = "jianhengwu0407@gmail.com" },
7+
]
78
readme = "README.md"
9+
license = { text = "MIT" }
10+
classifiers = [
11+
"Intended Audience :: Developers",
12+
"License :: OSI Approved :: MIT License",
13+
"Operating System :: OS Independent",
14+
"Programming Language :: Python :: 3 :: Only",
15+
"Programming Language :: Python :: 3.7",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
"Topic :: Software Development :: Libraries",
22+
]
23+
requires-python = ">=3.7,<4.0"
24+
dependencies = [
25+
"typer[all]==0.9.0",
26+
"requests==2.25.1",
27+
"questionary==1.10.0",
28+
"pre-commit>=3.4.0",
29+
]
30+
31+
[project.urls]
832
homepage = "https://github.com/wu-clan/fastapi_ccli"
933
repository = "https://github.com/wu-clan/fastapi_ccli"
1034

11-
[tool.poetry.dependencies]
12-
python = '^3.6'
13-
typer = { version = "0.6.1", extras = ["all"] }
14-
requests = "2.25.1"
15-
questionary = "1.10.0"
16-
keyboard = "0.13.5"
17-
18-
[tool.poetry.dev-dependencies]
19-
pytest = "^6.0"
35+
[tool.pdm.dev-dependencies]
36+
dev = [
37+
"pytest<8.0,>=7.0",
38+
"keyboard>=0.13.5",
39+
]
2040

21-
[tool.poetry.scripts]
22-
fastapi-ccli = "fastapi_ccli.main:main"
41+
[tool.pdm.build]
42+
includes = []
2343

2444
[build-system]
25-
requires = ["poetry-core>=1.0.0"]
26-
build-backend = "poetry.core.masonry.api"
45+
requires = ["pdm-backend"]
46+
build-backend = "pdm.backend"
47+
48+
49+
[project.scripts]
50+
fastapi-ccli = "fastapi_ccli.main:main"

0 commit comments

Comments
 (0)