Skip to content

Commit c2ca07e

Browse files
committed
Use setuptools
1 parent f19f260 commit c2ca07e

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
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: 2 additions & 5 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"
@@ -31,9 +31,6 @@ lint = ["pre-commit >= 3.3"]
3131
Home = "https://scientific-python.org/specs/spec-0001/"
3232
Source = "https://github.com/scientific-python/lazy_loader"
3333

34-
[tool.flit.sdist]
35-
exclude = ["tests/*"]
36-
3734
[tool.ruff]
3835
line-length = 88
3936
target-version = "py37"

0 commit comments

Comments
 (0)