Skip to content

Commit

Permalink
use uv to build and publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnik512 committed Sep 30, 2024
1 parent 18cd306 commit 15a17b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ test *args:
uv run pytest {{ args }}

publish:
rm -rf dist/*
uv tool run --from build python -m build --installer uv
uv tool run twine check dist/*
uv tool run twine upload dist/* --username __token__ --password $PYPI_TOKEN
rm -rf dist
uv build
uv publish --token $PYPI_TOKEN
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FastAPI versioning library
[![MyPy Strict](https://img.shields.io/badge/mypy-strict-blue)](https://mypy.readthedocs.io/en/stable/getting_started.html#strict-mode-and-configuration)
[![Supported versions](https://img.shields.io/pypi/pyversions/fast-version.svg)](https://pypi.python.org/pypi/fast-version)
[![downloads](https://img.shields.io/pypi/dm/fast-version.svg)](https://pypistats.org/packages/fast-version)
[![GitHub stars](https://img.shields.io/github/stars/modern-python/fast-version)](https://github.com/modern-python/fast-version/stargazers)
[![GitHub stars](https://img.shields.io/github/stars/community-of-python/fast-version)](https://github.com/community-of-python/fast-version/stargazers)

<img src="./logo.svg" width="250" />

Expand Down

0 comments on commit 15a17b7

Please sign in to comment.