forked from s3lph/matemat
(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
|
||||
- cp -r static/ package/debian/matemat/usr/lib/matemat/static/
|
||||
- cp -r templates/ package/debian/matemat/usr/lib/matemat/templates/
|
||||
- python3 setup.py egg_info install --root=package/debian/matemat/ --prefix=/usr --optimize=1
|
||||
- export PYTHON_BIN=$(which python3)
|
||||
- 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/{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 '*.pyc' -exec rm {} \;
|
||||
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
|
||||
|
|
Loading…
Reference in a new issue