diff options
author | Nico Schlömer <nico.schloemer@gmail.com> | 2022-09-03 12:03:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 12:03:04 +0200 |
commit | 4f2306c2937c95e8573abbfe210f70a5f6d5ed39 (patch) | |
tree | 0a8190409feef47b1eb2890034af8d4110ab47cb | |
parent | 8dc7289ad33d5c8c49d3980191879c41310afa8a (diff) | |
parent | b7c6605b97f3e23328bc1064e6344e1d4585efdd (diff) |
Merge pull request #101 from nschloe/rm-flitv0.2.7
flit -> setuptools
-rw-r--r-- | justfile | 5 | ||||
-rw-r--r-- | pyproject.toml | 4 | ||||
-rw-r--r-- | src/tiptop/__about__.py | 2 |
3 files changed, 6 insertions, 5 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" diff --git a/src/tiptop/__about__.py b/src/tiptop/__about__.py index 01ef120..6cd38b7 100644 --- a/src/tiptop/__about__.py +++ b/src/tiptop/__about__.py @@ -1 +1 @@ -__version__ = "0.2.6" +__version__ = "0.2.7" |