Skip to content

Commit 1603d77

Browse files
authored
Merge pull request #151 from jedie/dev
replace setuptools with hatchling
2 parents 18d55a8 + 362716c commit 1603d77

File tree

4 files changed

+559
-533
lines changed

4 files changed

+559
-533
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ See also git tags: https://github.com/jedie/manageprojects/tags
349349

350350
[comment]: <> (✂✂✂ auto generated history start ✂✂✂)
351351

352+
* [v0.21.3](https://github.com/jedie/manageprojects/compare/v0.21.2...v0.21.3)
353+
* 2025-04-22 - replace setuptools with hatchling
352354
* [v0.21.2](https://github.com/jedie/manageprojects/compare/v0.21.1...v0.21.2)
353355
* 2025-03-11 - Fix nox CLI call
354356
* 2025-03-11 - Update requirements and replace tox with nox
@@ -357,15 +359,15 @@ See also git tags: https://github.com/jedie/manageprojects/tags
357359
* [v0.21.0](https://github.com/jedie/manageprojects/compare/v0.20.0...v0.21.0)
358360
* 2025-01-17 - Prefere to build with "uv build"
359361
* 2025-01-17 - Update requirements
362+
363+
<details><summary>Expand older history entries ...</summary>
364+
360365
* [v0.20.0](https://github.com/jedie/manageprojects/compare/v0.19.2...v0.20.0)
361366
* 2024-11-11 - Bugfix publish: Add "build" dep.
362367
* 2024-11-11 - Bugfix publish command: Add missing "setuptools" dep.
363368
* 2024-11-11 - Switch to uv
364369
* 2024-09-25 - Add: test_pre_commit_hooks()
365370
* 2024-09-25 - Move git pre-commit hook from dev-cli.py to update command
366-
367-
<details><summary>Expand older history entries ...</summary>
368-
369371
* [v0.19.2](https://github.com/jedie/manageprojects/compare/v0.19.1...v0.19.2)
370372
* 2024-09-24 - Add piwheels hashes, too.
371373
* 2024-09-24 - Apply update from cookiecutter templates

manageprojects/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"""
55

66
# See https://packaging.python.org/en/latest/specifications/version-specifiers/
7-
__version__ = '0.21.2'
7+
__version__ = '0.21.3'
88
__author__ = 'Jens Diemer <[email protected]>'

pyproject.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dev = [
4141
"bx_py_utils", # https://github.com/boxine/bx_py_utils
4242
"urllib3", # for deny_requests.deny_any_real_request() in tests
4343
"uv", # https://github.com/astral-sh/uv
44-
"setuptools", # https://github.com/pypa/setuptools
44+
"hatchling", # https://github.com/pypa/hatch/tree/master/backend
4545
"nox", # https://github.com/wntrblm/nox
4646
"coverage", # https://github.com/nedbat/coveragepy
4747
"autopep8", # https://github.com/hhatto/autopep8
@@ -72,16 +72,16 @@ Source = "https://github.com/jedie/manageprojects"
7272
manageprojects_app = "manageprojects.__main__:main"
7373
manageprojects_dev = "manageprojects.cli_dev:main"
7474

75+
7576
[build-system]
76-
requires = ["setuptools>=61.0", "setuptools_scm>=7.1"]
77-
build-backend = "setuptools.build_meta"
77+
requires = ["hatchling"]
78+
build-backend = "hatchling.build"
7879

79-
[tool.setuptools.packages.find]
80-
where = ["."]
81-
include = ["manageprojects*"]
80+
[tool.hatch.build.targets.wheel]
81+
packages = ["manageprojects"]
8282

83-
[tool.setuptools.dynamic]
84-
version = {attr = "manageprojects.__version__"}
83+
[tool.hatch.version]
84+
path = "manageprojects/__init__.py"
8585

8686

8787
[tool.cli_base.pip_audit]

0 commit comments

Comments
 (0)