1
0
Fork 0
forked from s3lph/matemat

(Hopefully) fixed site-packages path in dpkg script, v2

This commit is contained in:
s3lph 2018-11-07 15:04:11 +01:00
parent 647076150d
commit 2a03857520

View file

@ -72,7 +72,9 @@ build_debian:
- python3.6 setup.py egg_info install --root=package/debian/matemat/ --prefix=/usr --optimize=1
- cd package/debian
- chmod 0755 -R matemat/DEBIAN
- mv matemat/usr/lib/python3.6/site-packages matemat/usr/lib/python3/dist-packages
- mkdir -p matemat/usr/lib/python3/dist-packages/
- rsync -a matemat/usr/lib/python3.6/site-packages/ matemat/usr/lib/python3/dist-packages/
- rm -rf matemat/usr/lib/python3.6/
- find matemat/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \;
- find matemat/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat