diff --git a/scripts/build-wine.sh b/scripts/build-wine.sh index be8ca58..638ba1d 100644 --- a/scripts/build-wine.sh +++ b/scripts/build-wine.sh @@ -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} diff --git a/setup.py b/setup.py index 4058ac3..8a7408c 100644 --- a/setup.py +++ b/setup.py @@ -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: