Hi Dennis,

As you have already found, packaging python for distribution is not 
straightforward.  I use pyqtgraph / PySide2 / Qt in the Joulescope UI:
https://github.com/jetperch/pyjoulescope_ui

We distribute this for Windows, macOS, and Linux, so it's a decent 
reference.  We spent quite a bit of time piecing this all together.  Within 
the project, you will find:

   - Use of MANIFEST.in to generate pyinstaller dependencies
   - Manual inclusion of binary libraries needed for each platform
   - multiprocessing with freeze support and logging support
   - pkgutil.get_data to support in place development, python installed, 
   and packaged data retrieval
   - Inno Setup for the signed Windows installer
   - Mac dmg packaging using appdmg (not yet distributed on the mac app 
   store)

We build using Visual Studio 2019 on Windows.  You can also just install 
the build tools by following the instructions on python.org.  Note that 
PySide2 5.14 had issues with some versions of python 3.7 & 3.8.  Pyside2 
5.15 and python 3.8 are working great.

- Matt

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/b3e04bc1-e939-4955-a2ae-eb3232c3d302o%40googlegroups.com.

Reply via email to