Skip to content

Commit 2873dc7

Browse files
Use setuptools (#65)
1 parent f19f260 commit 2873dc7

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Example `version`
4545
- Publish on PyPi:
4646

4747
git clean -fxd
48-
pip install flit
49-
flit build
50-
flit publish
48+
pip install -U build twine wheel
49+
python -m build --sdist --wheel
50+
twine upload -s dist/*
5151

5252
- Update `version` in `pyproject.toml`.
5353

pyproject.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["flit_core >=3.8,<4"]
3-
build-backend = "flit_core.buildapi"
2+
requires = ["setuptools>=61.2"]
3+
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lazy_loader"
@@ -20,8 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
2222
]
23-
dynamic = ["description"]
24-
23+
description = "Makes it easy to load subpackages and functions on demand."
2524

2625
[project.optional-dependencies]
2726
test = ["pytest >= 7.4", "pytest-cov >= 4.1"]
@@ -31,9 +30,6 @@ lint = ["pre-commit >= 3.3"]
3130
Home = "https://scientific-python.org/specs/spec-0001/"
3231
Source = "https://github.com/scientific-python/lazy_loader"
3332

34-
[tool.flit.sdist]
35-
exclude = ["tests/*"]
36-
3733
[tool.ruff]
3834
line-length = 88
3935
target-version = "py37"

0 commit comments

Comments
 (0)