diff options
author | Nico Schlömer <nico.schloemer@gmail.com> | 2022-09-03 11:59:21 +0200 |
---|---|---|
committer | Nico Schlömer <nico.schloemer@gmail.com> | 2022-09-03 11:59:21 +0200 |
commit | 5804c75e8e57c942db5a396319302ef8c5fdd443 (patch) | |
tree | 1d2e3ab57fa02881390d42ef81d934c4fbe4d19c | |
parent | 8dc7289ad33d5c8c49d3980191879c41310afa8a (diff) |
flip -> setuptools
-rw-r--r-- | justfile | 5 | ||||
-rw-r--r-- | pyproject.toml | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -3,10 +3,11 @@ version := `python3 -c "from src.tiptop.__about__ import __version__; print(__ve default: @echo "\"just publish\"?" -publish: +publish: clean @if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi gh release create "v{{version}}" - flit publish + python3 -m build --sdist --wheel . + twine upload dist/* clean: @find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf diff --git a/pyproject.toml b/pyproject.toml index 7c0364b..20fbaae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["flit_core >=3.2,<4"] -build-backend = "flit_core.buildapi" +requires = ["setuptools>=61"] +build-backend = "setuptools.build_meta" [tool.isort] profile = "black" |