qt-material/gen_requirements.sh
2021-04-22 11:26:48 -05:00

9 lines
345 B
Bash
Executable File

rm requirements.txt
pipreqs --savepath requirements.txt --force qt_material
sed -i '/PyQt5/d' requirements.txt
sed -i '/PyQt6/d' requirements.txt
sed -i '/PySide2/d' requirements.txt
sed -i '/PySide6/d' requirements.txt
sed -i 's/==.*//' requirements.txt
python -c "[print(f'\'{line[:-1]}\',') for line in open('requirements.txt').readlines()]"