fix: ci python path fixes
This commit is contained in:
parent
d1e9403913
commit
d7603f2c87
1 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,9 @@ build_debian:
|
|||
- python3 setup.py egg_info install --root=package/debian/multischleuder/ --prefix=/usr --optimize=1
|
||||
- cd package/debian
|
||||
- sed -re "s/__MULTISCHLEUDER_VERSION__/${MULTISCHLEUDER_VERSION}/g" -i multischleuder/DEBIAN/control
|
||||
- mv multischleuder/usr/lib/python3.11 multischleuder/usr/lib/python3
|
||||
- mkdir -p multischleuder/usr/lib/python3
|
||||
- mv multischleuder/usr/lib/python3.11/site-packages multischleuder/usr/lib/python3/dist-packages
|
||||
- rm -rf multischleuder/usr/lib/python3.11
|
||||
- find multischleuder/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true
|
||||
- find multischleuder/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
||||
- find multischleuder/usr/lib/python3/dist-packages -name '*.pyo' -exec rm {} \;
|
||||
|
|
Loading…
Reference in a new issue