forked from deezer/spleeter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 707 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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