I am working on a standalone Python-GUI-program. When I run
python3 setup.py sdist
I get the following warning:
package init file 'main-application-folder/__init__.py' not found (or not a regular file)
Is this warning only meant for packages or should a standalone Python program also have an __init__.py
instead of something like main-window.py
or my-first-program.py
?
Should I rename my main file (in my case ìbk-st.py
to __init__.py
) or would it be good to retain a certain structure in the __init__.py
(i.e. make a separate file that calls the ibk-st.py
file)
Link to project: