music-kraken-core/build.sh

15 lines
467 B
Bash
Raw Normal View History

2022-11-15 09:25:56 +00:00
mkdir -p dist/build_files
mkdir -p dist/compiled
2022-11-15 09:03:49 +00:00
2022-11-15 09:25:56 +00:00
pyinstaller --onefile src/music_kraken_cli.py --specpath dist/build_files --workpath dist/build_files --distpath dist/compiled
2022-11-15 09:03:49 +00:00
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
echo "building......"
python3 -m pip install --upgrade build
python3 -m build
echo "uploading......."
python3 -m pip install --upgrade twine
2022-11-15 09:03:49 +00:00
twine upload dist/music_kraken*
# twine upload --repository testpypi dist/*