You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.
It sounds like the other python files are not "scipts" so much as modules that are imported by the main script, is that correct?
If so, you should try to follow standard python package layout when structuring you code. I would recommend putting all of your code into a package named after your application, like this:
In your main script, you can then access e.g. your settings.py by doing "from import settings".
Structuring things in this way will make it much easier for package tools such as esky to find and include all the necessary code, and it will also help avoid some gotchas in the python import process.
Your setup.py can then be along the lines of just:
So far the examples I see are for only a single py script. I have a app like:
main.py
settings.py
data.py
When I run the exe, it complain that settings (imported from main) don't exist. What I need to do?
The text was updated successfully, but these errors were encountered: