Fixing building for debian
This commit is contained in:
parent
1f72c76fb4
commit
557592708f
2 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
2
setup.py
2
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:
|
||||
|
|
Loading…
Reference in a new issue