mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
Add uvx python functions
This commit is contained in:
parent
e9395c3787
commit
526504fe0c
2 changed files with 12 additions and 0 deletions
6
functions/python-build.fish
Normal file
6
functions/python-build.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
which uvx --skip-functions >/dev/null 2>/dev/null
|
||||||
|
if [ $status -eq 0 ]
|
||||||
|
function python-build
|
||||||
|
uvx --from build pyproject-build --installer uv
|
||||||
|
end
|
||||||
|
end
|
6
functions/python-publish.fish
Normal file
6
functions/python-publish.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
which uvx --skip-functions >/dev/null 2>/dev/null
|
||||||
|
if [ $status -eq 0 ]
|
||||||
|
function python-publish
|
||||||
|
uvx twine upload --non-interactive --verbose --username "Steffo" dist/*
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue