Build file added for Windows

This commit is contained in:
Mijael Viricochea Parra
2022-09-09 21:31:01 -04:00
parent 96742046ba
commit 7e5b6d22c4
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@@ -67,6 +67,7 @@ TIDALDL-PY/__pycache__/setup.cpython-37.pyc
/TIDALDL-PY/settings.json
/TIDALDL-PY/usersettings.json
/TIDALDL-PY/__init__.spec
/TIDALDL-PY/tidal-dl.spec
TIDALDL-PY/tidal_dl/lang/__pycache__/__init__.cpython-37.pyc
TIDALDL-PY/tidal_dl/lang/__pycache__/arabic.cpython-37.pyc
TIDALDL-PY/tidal_dl/lang/__pycache__/chinese.cpython-37.pyc

15
build.cmd Normal file
View File

@@ -0,0 +1,15 @@
rmdir /s /q dist
rmdir /s /q build
rmdir /s /q __init__.spec
cd TIDALDL-PY
rmdir /s /q __init__.spec
rmdir /s /q dist
rmdir /s /q build
rmdir /s /q exe
rmdir /s /q MANIFEST.in
rmdir /s /q *.egg-info
python setup.py sdist bdist_wheel
python -m PyInstaller -F tidal_dl/__init__.py -n "tidal-dl" --distpath "exe"
pip uninstall -y tidal-dl