Comments (1)
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:
setup.py
<appname>/
__init__.py
main.py
settings.py
data.py
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:
setup(name="App",
version="1.2.3",
scripts=[os.path.join('<appname>', 'main.py')],
)
from esky.
Related Issues (20)
- Unable to get admin rights HOT 5
- Import error with pythonnet HOT 12
- cxfreeze windows digest not euqal HOT 1
- continous integration appveyor HOT 4
- Esky falls over using 64bit python on windows HOT 1
- Esky falls over using 64bit linux HOT 1
- py2exe on windows HOT 1
- py2app on mac HOT 1
- OSX: unorderable types: str() > NoneType() while creating patch HOT 5
- unable to run bootrap file using py2exe and python3.4 HOT 4
- py2exe py2.7, failing on py3k_master branch
- Esky differential patches not working HOT 6
- extract overwritting case sensitive files
- Error for running the tutorial esky-master\tutorial\stage0\ on my Windows10 HOT 2
- Error for running python setup.py bdist_esky HOT 9
- Windows system error with auto update HOT 3
- esky in windows enviornment HOT 6
- Error running bootstrap executable created by py2exe with Python 3.4 HOT 2
- tutorials fail HOT 1
- locale.getdefaultlocale() returns None HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esky.