Initial commit

This commit is contained in:
yakhyo
2024-11-20 08:43:25 +00:00
commit 6dbf4e6b87
18 changed files with 1345 additions and 0 deletions

23
scripts/release.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Exit on errors
set -e
cd "$(dirname "$0")"/..
echo "Deleting existing release-related files..."
rm -rf dist/ build/ *.egg-info
pip install --upgrade pip
pip install twine
echo "Creating a package for the current release (PyPI compatible)..."
python3 setup.py sdist bdist_wheel
echo "Release package created successfully in the 'dist/' folder."
echo "Uploading the package to PyPI..."
twine upload dist/*
echo "Release uploaded successfully!"