1234567891011121314151617181920 |
- venv:
- if [ ! -d "./venv" ]; then \
- python3 -m venv venv; \
- source venv/bin/activate; \
- pip3 install -r requirements.txt; \
- deactivate; \
- fi;
- pack: venv
- pyinstaller --onefile twiins.py
- install:
- if [ ! -f "./dist/twiins" ]; then cp ./dist/twiins /usr/local/bin; fi
- uninstall:
- @rm /usr/local/bin/twiins
- clean:
- rm -rf build/ dist/ venv/ *.spec *.log
|