Fixing building for debian

This commit is contained in:
Adsooi 2024-01-11 19:56:25 +01:00
parent 1f72c76fb4
commit 557592708f
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 2 additions and 2 deletions

View file

@ -30,5 +30,5 @@ rm dist/logarithmplotter/_internal/PySide6/Qt6WebEngineCore.dll
rm -rf dist/logarithmplotter/_internal/PySide6/qml/QtQuick/Controls/{Imagine,Material,designer}
# Remove unused tools
rm dist/logarithmplotter/_internal/PySide6/qml/{Qt3D,QtQuick3D}
rm -r dist/logarithmplotter/_internal/PySide6/qml/{Qt3D,QtQuick3D}
rm dist/logarithmplotter/_internal/PySide6/Qt6{Pdf.dll,*3D*,Location.dll}

View file

@ -30,7 +30,7 @@ if "PREFIX" not in os.environ and sys.platform == 'linux':
from getopt import getopt
optlist, args = getopt(sys.argv, '', ['prefix=', 'root='])
for arg,value in optlist:
if arg == "prefix":
if arg == "prefix" or arg == "root":
os.environ["PREFIX"] = value
if "PREFIX" not in os.environ and sys.platform == 'linux':
if "XDG_DATA_HOME" in os.environ: