File tree Expand file tree Collapse file tree 2 files changed +18
-27
lines changed Expand file tree Collapse file tree 2 files changed +18
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- requires = [" setuptools>=43.0.0 " , " wheel " ]
3
- build-backend = " setuptools.build_meta "
2
+ requires = [" hatchling " , " hatch-vcs " ]
3
+ build-backend = " hatchling.build "
4
4
5
5
[project ]
6
6
name = " pqdict"
@@ -32,7 +32,8 @@ classifiers = [
32
32
" Programming Language :: Python :: Implementation :: PyPy" ,
33
33
]
34
34
35
- dynamic = [" readme" , " version" ]
35
+ readme = " README.rst"
36
+ dynamic = [" version" ]
36
37
dependencies = []
37
38
38
39
[project .optional-dependencies ]
@@ -56,15 +57,22 @@ documentation = "https://pqdict.readthedocs.io"
56
57
repository = " https://github.com/nvictus/pqdict"
57
58
changelog = " https://github.com/nvictus/pqdict/blob/master/CHANGES"
58
59
59
- [tool .setuptools .dynamic ]
60
- readme = { file = [" README.rst" ] }
61
- version = { attr = " pqdict.__version__" }
60
+ [tool .hatch .version ]
61
+ path = " pqdict/__init__.py"
62
62
63
- [tool .setuptools .package-data ]
64
- pqdict = [' py.typed' ]
63
+ [tool .hatch .envs .default .scripts ]
64
+ lint = " ruff ."
65
+ fix = " ruff --fix ."
66
+ test = " pytest"
67
+ docs = " sphinx-autobuild docs docs/_build/html"
65
68
66
- [tool .distutils .bdist_wheel ]
67
- universal = true
69
+ [tool .hatch .envs .test ]
70
+ template = " default"
71
+ skip-install = false
72
+ features = [" test" ]
73
+
74
+ [[tool .hatch .envs .test .matrix ]]
75
+ python = [" 3.8" , " 3.9" , " 3.10" , " 3.11" ]
68
76
69
77
[tool .isort ]
70
78
profile = " black"
You can’t perform that action at this time.
0 commit comments