Skip to content

Commit

Permalink
Use setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jul 2, 2023
1 parent f19f260 commit c2ca07e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Example `version`
- Publish on PyPi:

git clean -fxd
pip install flit
flit build
flit publish
pip install -U build twine wheel
python -m build --sdist --wheel
twine upload -s dist/*

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

Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "lazy_loader"
Expand Down Expand Up @@ -31,9 +31,6 @@ lint = ["pre-commit >= 3.3"]
Home = "https://scientific-python.org/specs/spec-0001/"
Source = "https://github.com/scientific-python/lazy_loader"

[tool.flit.sdist]
exclude = ["tests/*"]

[tool.ruff]
line-length = 88
target-version = "py37"
Expand Down

0 comments on commit c2ca07e

Please sign in to comment.