It seems PySide2 wasn't detected, trying to see two potential sources.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
59b31d681b
commit
400eda9733
3 changed files with 4 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
python -m pip install -U pyinstaller
|
python -m pip install -U pyinstaller
|
||||||
pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --noconsole LogarithmPlotter/__init__.py --icon=win/logarithmplotter.ico -n logarithmplotter
|
pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --noconsole LogarithmPlotter/logarithmplotter.py --icon=win/logarithmplotter.ico -n logarithmplotter
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
rm $(find . -name "*.qmlc")
|
rm $(find . -name "*.qmlc")
|
||||||
rm $(find . -name "*.pyc")
|
rm $(find . -name "*.pyc")
|
||||||
wine python -m pip install -U pyinstaller
|
wine python -m pip install -U pyinstaller
|
||||||
wine pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --noconsole LogarithmPlotter/__init__.py --icon=win/logarithmplotter.ico -n logarithmplotter
|
wine pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --noconsole LogarithmPlotter/logarithmplotter.py --icon=win/logarithmplotter.ico -n logarithmplotter
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -96,6 +96,8 @@ if sys.platform == 'linux':
|
||||||
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/application-x-logarithm-plot.svg')
|
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/mimetypes/application-x-logarithm-plot.svg')
|
||||||
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/logplotter.svg')
|
os.remove(os.environ["PREFIX"] + '/icons/hicolor/scalable/apps/logplotter.svg')
|
||||||
|
|
||||||
|
print("Dependencies:", [] if "FLATPAK_INSTALL" in os.environ else ["PySide2"])
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
install_requires=([] if "FLATPAK_INSTALL" in os.environ else ["PySide2"]),
|
install_requires=([] if "FLATPAK_INSTALL" in os.environ else ["PySide2"]),
|
||||||
python_requires='>=3.8',
|
python_requires='>=3.8',
|
||||||
|
|
Loading…
Reference in a new issue