pyqtdeploy: Correct entry point naming?

Patrick Stinson patrickkidd at gmail.com
Wed Sep 30 21:03:14 BST 2020


What is the correct way to structure an entry point in pyqtdeploy 3? This is not documented.

In v2 my entry point for the source tree in the screenshot was familydiagram.pkdiagram.app:main. In pyqtdeploy 3 that entry point string gives the following error:

Traceback (most recent call last):
  File "bootstrap-3.7.0.py", line 983, in _find_and_load
  File "bootstrap-3.7.0.py", line 953, in _find_and_load_unlocked
  File "bootstrap-3.7.0.py", line 219, in _call_with_frames_removed
  File "bootstrap-3.7.0.py", line 983, in _find_and_load
  File "bootstrap-3.7.0.py", line 953, in _find_and_load_unlocked
  File "bootstrap-3.7.0.py", line 219, in _call_with_frames_removed
  File "bootstrap-3.7.0.py", line 983, in _find_and_load
  File "bootstrap-3.7.0.py", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'familydiagram'

Or the following error if I change it to pkdiagram.app:main:

Traceback (most recent call last):
  File "main_app.py", line 1, in <module>
  File "bootstrap-3.7.0.py", line 983, in _find_and_load
  File "bootstrap-3.7.0.py", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘pkdiagram'

If use a main script file containing “import pkdiagram.app; pkdiagram.app.main()” instead of an entry point I get the following error:

Traceback (most recent call last):
  File "main_app.py", line 1, in <module>
  File "bootstrap-3.7.0.py", line 983, in _find_and_load
  File "bootstrap-3.7.0.py", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘pkdiagram'

What is the right way to do this?

Cheers,
-Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200930/2b4e5123/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2020-09-30 at 11.51.49 AM.png
Type: image/png
Size: 288608 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200930/2b4e5123/attachment-0001.png>


More information about the PyQt mailing list