forked from s3lph/matemat
(Hopefully) fixed site-packages path in dpkg script, v2
This commit is contained in:
parent
647076150d
commit
2a03857520
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ build_debian:
|
||||||
- python3.6 setup.py egg_info install --root=package/debian/matemat/ --prefix=/usr --optimize=1
|
- python3.6 setup.py egg_info install --root=package/debian/matemat/ --prefix=/usr --optimize=1
|
||||||
- cd package/debian
|
- cd package/debian
|
||||||
- chmod 0755 -R matemat/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 __pycache__ -exec rm -r {} \;
|
||||||
- find matemat/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
- find matemat/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
||||||
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
|
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
|
||||||
|
|
Loading…
Reference in a new issue