[prev in list] [next in list] [prev in thread] [next in thread] List: pykde Subject: pyqtdeploy: Correct entry point naming? From: Patrick Stinson <patrickkidd () gmail ! com> Date: 2020-09-30 20:03:14 Message-ID: 635E96FD-F087-42E2-A546-C52D63C952A7 () gmail ! com [Download RAW message or body] 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 [Attachment #3 (multipart/related)] [Attachment #5 (unknown)] <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \ -webkit-line-break: after-white-space;" class="">What is the correct way to structure \ an entry point in pyqtdeploy 3? This is not documented.<div class=""><br \ class=""></div><div class="">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:</div><div class=""><br class=""></div><div \ class=""><div class=""><font color="#000000" class=""><span style="caret-color: \ rgb(0, 0, 0);" class="">Traceback (most recent call last):<br \ class=""> File "bootstrap-3.7.0.py", line 983, in _find_and_load<br \ class=""> File "bootstrap-3.7.0.py", line 953, in \ _find_and_load_unlocked<br class=""> File "bootstrap-3.7.0.py", line 219, \ in _call_with_frames_removed<br class=""> File "bootstrap-3.7.0.py", line \ 983, in _find_and_load<br class=""> File "bootstrap-3.7.0.py", line 953, \ in _find_and_load_unlocked<br class=""> File "bootstrap-3.7.0.py", line \ 219, in _call_with_frames_removed<br class=""> File "bootstrap-3.7.0.py", \ line 983, in _find_and_load<br class=""> File "bootstrap-3.7.0.py", line \ 965, in _find_and_load_unlocked<br class="">ModuleNotFoundError: No module named \ 'familydiagram'</span></font></div></div><div style="caret-color: rgb(0, 0, 0); \ color: rgb(0, 0, 0);" class=""><br class=""></div><div class=""><div \ style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Or the following \ error if I change it to pkdiagram.app:main:</div></div><div class=""><br \ class=""></div><div class=""><div class=""><div style="caret-color: rgb(0, 0, 0); \ color: rgb(0, 0, 0);" class="">Traceback (most recent call last):<br \ class=""> File "main_app.py", line 1, in <module><br \ class=""> File "bootstrap-3.7.0.py", line 983, in _find_and_load<br \ class=""> File "bootstrap-3.7.0.py", line 965, in \ _find_and_load_unlocked<br class="">ModuleNotFoundError: No module named \ âpkdiagram'<br class=""></div></div><div class=""><br class=""></div></div><div \ class="">If use a main script file containing "import pkdiagram.app; \ pkdiagram.app.main()" instead of an entry point I get the following error:</div><div \ class=""><br class=""></div><div class="">Traceback (most recent call last):<br \ class=""> File "main_app.py", line 1, in <module><br \ class=""> File "bootstrap-3.7.0.py", line 983, in _find_and_load<br \ class=""> File "bootstrap-3.7.0.py", line 965, in \ _find_and_load_unlocked<br class="">ModuleNotFoundError: No module named \ âpkdiagram'</div><div class=""><br class=""></div><div class="">What is the right \ way to do this?</div><div class=""><br class=""></div><div class="">Cheers,</div><div \ class="">-Patrick</div><div class=""><br class=""></div><div class=""><img \ apple-inline="yes" id="BD9FEBDC-56D6-40CB-9589-581936EDCB19" width="755" height="697" \ src="cid:C1EB987C-C52B-47E0-940D-1031BF0B1E46" class=""></div></body></html> ["Screen Shot 2020-09-30 at 11.51.49 AM.png" (Screen Shot 2020-09-30 at 11.51.49 AM.png)] �PNG IHDR � r d�. diCCPICC \ Profile H��WXS��[RIh�H ��"5��Z����$�PbL*vtY�.�X�UEWW@ւ�k]{�XPQ��Ul�� 躯|�|���s��Jf�@Oŗ��Q} ����Pָ�t�� �f@�/P�8��1 �@�wys �����U�"� $�,�BP q3 x�@&/��Sej,��H�x��h�25���m�6I \� \ ��|y ��P�*�@�G�K�) zF �|!�I+(���s!v��2�wB���3�o�Y��|~� \ ���/�0�B�ϟ���KA�r�l4�<*A�?���jL��K���5��$BM�@�beT��5(��~�?��� \ �9�����>+[��t�������P�O�r��ON���r.G;��/��oU�%s��7�"� ��bqR*�T 0j�$%b]��y��̦ \ X̍��+���A�I#C5�XF�<"Ak/+P䋕�%�X-�,'Ei�����7��^$�$��br���5�cm"i�6_재04A;�[����ɢ�H��b3EQ�v.>�.N ?#+�O�ĉg��G�k��@�0�Jز�d�$m] ]�f$�� p�jf�H�3�? ����Q(��O�Z�� d�����!. � �V�ϒzK��F��k>l��8P��(xYz��pb1�At��� \ <