mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
Initial commit from private spleeter
This commit is contained in:
30
Makefile
Normal file
30
Makefile
Normal file
@@ -0,0 +1,30 @@
|
||||
# =======================================================
|
||||
# Build script for distribution packaging.
|
||||
#
|
||||
# @author Deezer Research <research@deezer.com>
|
||||
# @licence MIT Licence
|
||||
# =======================================================
|
||||
|
||||
clean:
|
||||
rm -Rf *.egg-info
|
||||
rm -Rf dist
|
||||
|
||||
build:
|
||||
@echo "=== Build CPU bdist package"
|
||||
@python3 setup.py sdist
|
||||
@echo "=== CPU version checksum"
|
||||
@openssl sha256 dist/*.tar.gz
|
||||
|
||||
build-gpu:
|
||||
@echo "=== Build GPU bdist package"
|
||||
@python3 setup.py sdist --target gpu
|
||||
@echo "=== GPU version checksum"
|
||||
@openssl sha256 dist/*.tar.gz
|
||||
|
||||
upload:
|
||||
twine upload dist/*
|
||||
|
||||
test-upload:
|
||||
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
||||
|
||||
all: clean build build-gpu upload
|
||||
Reference in New Issue
Block a user