Skip to content

Commit de1fcfb

Browse files
authored
Merge pull request #20 from uncle-lv/migrate-to-PDM
Switch the package management tool from Poetry to PDM
2 parents ac5d1ad + b9f3705 commit de1fcfb

File tree

7 files changed

+261
-53
lines changed

7 files changed

+261
-53
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ __pycache__
66
test.py
77
/my
88
.vscode
9-
.idea
9+
.idea
10+
11+
dist/
12+
.pdm-python
-7.34 KB
Binary file not shown.

dist/pydumpling-0.1.2.tar.gz

-5.47 KB
Binary file not shown.

pdm.lock

Lines changed: 227 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.lock

Lines changed: 0 additions & 31 deletions
This file was deleted.

pyproject.toml

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
1-
[tool.poetry]
2-
name = "pydumpling"
3-
version = "0.1.2"
4-
description = ""
5-
authors = ["cocolato <[email protected]>"]
6-
readme = "README.md"
7-
packages = [{include = "pydumpling/*.py"}]
1+
[tool.pdm]
2+
distribution = true
83

9-
[tool.poetry.dependencies]
10-
python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
11-
dill = "^0.3.2"
12-
six = "^1.16.0"
4+
[tool.pdm.scripts]
5+
test = {composite = ["pdm install", "flake8 ./pydumpling ./tests", "pytest tests/"]}
136

7+
[tool.pdm.build]
8+
includes = ["pydumpling/*.py"]
149

10+
[tool.pdm.dev-dependencies]
11+
test = [
12+
"pytest-order>=1.2.0",
13+
"flake8>=5.0.4",
14+
"six>=1.16.0",
15+
]
1516
[build-system]
16-
requires = ["poetry-core"]
17-
build-backend = "poetry.core.masonry.api"
17+
requires = ["pdm-backend"]
18+
build-backend = "pdm.backend"
19+
20+
21+
[project]
22+
name = "pydumpling"
23+
version = "0.1.2"
24+
description = ""
25+
authors = [
26+
{name = "cocolato", email = "[email protected]"},
27+
]
28+
dependencies = [
29+
"dill<1.0.0,>=0.3.2",
30+
"six<2.0.0,>=1.16.0",
31+
]
32+
requires-python = ">=3.7"
33+
readme = "README.md"
34+
license = {text = "MIT"}

test.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)