Windows and Linux are both supported for developing, testing, releasing, and installing YTMusic Deleter. Mac may be supported but never been thoroughly tested. Things to note:
- Git Bash is recommmended for Windows development
- Linux debian package may not produce a desktop icon (have to run /opt/YTMusic_Deleter/YTMusic_Deleter after installing .deb package)
- Install Python
- Install pdm
pdm install -dG lint,test
to skip installing deps for GUI, one of which is fbs_pro which is a paid library- Install fbs_pro with curl -L https://drive.google.com/uc?id={FBS_URL_ID} --output fbs_pro-1.2.1.tar.gz
pdm install
- Activate .venv
pre-commit install
ytmusic-deleter
to run CLIpdm fbs run
to run GUI
cp tests/resources/test.example.cfg tests/resources/test.cfg
curl -o tests/resources/test.mp3 https://www.kozco.com/tech/piano2-CoolEdit.mp3
ytmusicapi browser
to create browser.json for uploads, put in tests/resourcesytmusicapi oauth
to create oauth.json for other tests, put in tests/resourcespdm run pytest
pdm version [major|minor|patch]
to bump version
pdm publish
pdm freeze-prep
pdm fbs freeze
pdm fbs installer