(Hopefully) fixed site-packages path in dpkg script
This commit is contained in:
parent
4e22bfb821
commit
647076150d
1 changed files with 2 additions and 3 deletions
|
@ -69,11 +69,10 @@ build_debian:
|
||||||
- gzip -9 package/debian/matemat/usr/share/doc/matemat/changelog
|
- gzip -9 package/debian/matemat/usr/share/doc/matemat/changelog
|
||||||
- cp -r static/ package/debian/matemat/usr/lib/matemat/static/
|
- cp -r static/ package/debian/matemat/usr/lib/matemat/static/
|
||||||
- cp -r templates/ package/debian/matemat/usr/lib/matemat/templates/
|
- cp -r templates/ package/debian/matemat/usr/lib/matemat/templates/
|
||||||
- python3 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
|
||||||
- export PYTHON_BIN=$(which python3)
|
|
||||||
- cd package/debian
|
- cd package/debian
|
||||||
- chmod 0755 -R matemat/DEBIAN
|
- chmod 0755 -R matemat/DEBIAN
|
||||||
- mv matemat/usr/lib/python3/{site,dist}-packages
|
- mv matemat/usr/lib/python3.6/site-packages matemat/usr/lib/python3/dist-packages
|
||||||
- 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