diff options
author | NoisyCoil <noisycoil@tutanota.com> | 2022-10-23 18:13:51 +0200 |
---|---|---|
committer | NoisyCoil <noisycoil@tutanota.com> | 2022-10-23 18:13:51 +0200 |
commit | 6d4f4aef490455887a81c7db5d4347a9e090e6c3 (patch) | |
tree | 12d8d99cf8ab12d738b474c5cdb4b933c5ae83b5 /desktop/setup-freeze.py | |
parent | 7936cb85be72818a33df389ce9f506e4f1d29488 (diff) | |
download | onionshare-6d4f4aef490455887a81c7db5d4347a9e090e6c3.tar.gz onionshare-6d4f4aef490455887a81c7db5d4347a9e090e6c3.zip |
Initial macos-package-build commit
Diffstat (limited to 'desktop/setup-freeze.py')
-rw-r--r-- | desktop/setup-freeze.py | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/desktop/setup-freeze.py b/desktop/setup-freeze.py index f293b554..9ce867dd 100644 --- a/desktop/setup-freeze.py +++ b/desktop/setup-freeze.py @@ -102,7 +102,7 @@ if platform.system() == "Darwin" or platform.system() == "Linux": from_name.__doc__ = importlib_metadata.PathDistribution.from_name.__doc__ - cx_Freeze.module.DistributionCache = DistributionCache + #cx_Freeze.module.DistributionCache = DistributionCache # Discover the version @@ -123,20 +123,20 @@ if platform.system() == "Windows": exec_icon = os.path.join("onionshare", "resources", "onionshare.ico") elif platform.system() == "Darwin": - import PySide2 - import shiboken2 + import PySide6 + import shiboken6 include_msvcr = False gui_base = None exec_icon = None include_files += [ ( - os.path.join(PySide2.__path__[0], "libpyside2.abi3.5.15.dylib"), - "libpyside2.abi3.5.15.dylib", + os.path.join(PySide6.__path__[0], "libpyside6.abi3.6.4.dylib"), + "libpyside6.abi3.6.4.dylib", ), ( - os.path.join(shiboken2.__path__[0], "libshiboken2.abi3.5.15.dylib"), - "libshiboken2.abi3.5.15.dylib", + os.path.join(shiboken6.__path__[0], "libshiboken6.abi3.6.4.dylib"), + "libshiboken6.abi3.6.4.dylib", ), ] @@ -170,53 +170,53 @@ setup( "jinja2.ext", "onionshare", "onionshare_cli", - "PySide2", - "PySide2.QtCore", - "PySide2.QtGui", - "PySide2.QtWidgets", + "PySide6", + "PySide6.QtCore", + "PySide6.QtGui", + "PySide6.QtWidgets", ], "excludes": [ "test", "tkinter", - "PySide2.Qt3DAnimation", - "PySide2.Qt3DCore", - "PySide2.Qt3DExtras", - "PySide2.Qt3DInput", - "PySide2.Qt3DLogic", - "PySide2.Qt3DRender", - "PySide2.QtCharts", - "PySide2.QtConcurrent", - "PySide2.QtDataVisualization", - "PySide2.QtHelp", - "PySide2.QtLocation", - "PySide2.QtMultimedia", - "PySide2.QtMultimediaWidgets", - "PySide2.QtNetwork", - "PySide2.QtOpenGL", - "PySide2.QtOpenGLFunctions", - "PySide2.QtPositioning", - "PySide2.QtPrintSupport", - "PySide2.QtQml", - "PySide2.QtQuick", - "PySide2.QtQuickControls2", - "PySide2.QtQuickWidgets", - "PySide2.QtRemoteObjects", - "PySide2.QtScript", - "PySide2.QtScriptTools", - "PySide2.QtScxml", - "PySide2.QtSensors", - "PySide2.QtSerialPort", - "PySide2.QtSql", - "PySide2.QtTest", - "PySide2.QtTextToSpeech", - "PySide2.QtUiTools", - "PySide2.QtWebChannel", - "PySide2.QtWebEngine", - "PySide2.QtWebEngineCore", - "PySide2.QtWebEngineWidgets", - "PySide2.QtWebSockets", - "PySide2.QtXml", - "PySide2.QtXmlPatterns", + "PySide6.Qt3DAnimation", + "PySide6.Qt3DCore", + "PySide6.Qt3DExtras", + "PySide6.Qt3DInput", + "PySide6.Qt3DLogic", + "PySide6.Qt3DRender", + "PySide6.QtCharts", + "PySide6.QtConcurrent", + "PySide6.QtDataVisualization", + "PySide6.QtHelp", + "PySide6.QtLocation", + "PySide6.QtMultimedia", + "PySide6.QtMultimediaWidgets", + "PySide6.QtNetwork", + "PySide6.QtOpenGL", + "PySide6.QtOpenGLFunctions", + "PySide6.QtPositioning", + "PySide6.QtPrintSupport", + "PySide6.QtQml", + "PySide6.QtQuick", + "PySide6.QtQuickControls2", + "PySide6.QtQuickWidgets", + "PySide6.QtRemoteObjects", + "PySide6.QtScript", + "PySide6.QtScriptTools", + "PySide6.QtScxml", + "PySide6.QtSensors", + "PySide6.QtSerialPort", + "PySide6.QtSql", + "PySide6.QtTest", + "PySide6.QtTextToSpeech", + "PySide6.QtUiTools", + "PySide6.QtWebChannel", + "PySide6.QtWebEngine", + "PySide6.QtWebEngineCore", + "PySide6.QtWebEngineWidgets", + "PySide6.QtWebSockets", + "PySide6.QtXml", + "PySide6.QtXmlPatterns", ], "include_files": include_files, "include_msvcr": include_msvcr, |