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 6b714ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 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
10 changes: 3 additions & 7 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 All @@ -20,8 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["description"]

description = "Makes it easy to load subpackages and functions on demand."

[project.optional-dependencies]
test = ["pytest >= 7.4", "pytest-cov >= 4.1"]
Expand All @@ -31,9 +30,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 6b714ce

Please sign in to comment.