smaller config fixes

This commit is contained in:
Firepup Sixfifty 2025-04-11 15:07:57 -05:00
parent 61de728f58
commit 3325cfa59a
Signed by: Firepup650
SSH key fingerprint: SHA256:AKEr2tMNUR48V+pkYiso/sH+ZtMsKxCP0BUPfcLNy4U
2 changed files with 9 additions and 6 deletions

8
.gitignore vendored
View file

@ -1,12 +1,10 @@
.cache/*
.cache/**
__pycache__/**
.upm
venv/**
**/__pycache__/**
.pythonlibs/**
replit*txt
.config/**
replit*txt
.replit
**/dist/**
**/.env
package/dist/**
package/.env

View file

@ -1,3 +1,8 @@
source .env
if [ -z ${PYPI_TOKEN+x} ]; then
echo 'Cannot upload without a pypi token. Please set one in a .env file next to this script with the name of `PYPI_TOKEN`.'
exit 1
fi
echo "🧽 Pruging old package files... 🧽"
rm -rf dist
mkdir dist
@ -7,5 +12,5 @@ echo "🛠 Building... 🛠"
poetry build > /dev/null
echo -n "☁️ Uploading... ☁️"
poetry publish -u __token__ -p $PYPI_TOKEN
#python3 -m twine upload -r pypi dist/*
echo "✨ All done! ✨"
unset PYPI_TOKEN