@@ -30,7 +30,7 @@ results in a chain of processes being created - the wrapper itself, the virtual
30
30
environment redirector, and finally the Python interpreter. Creating all these
31
31
processes isn't cheap, and particularly for a small command line utility, it
32
32
impacts application startup time noticeably. Furthermore, the entry point
33
- wrapper is a standard executable with a zipfile attached - because of this, the
33
+ wrapper is a standard executable with a ZIP file attached - because of this, the
34
34
application cannot be signed in advance by the developer, and this is often seen
35
35
as "suspicious" by virus scanners. If a scan is triggered, this can make the
36
36
application even slower to start, as well as running the risk of "false
@@ -65,12 +65,14 @@ You can, if you wish, dump all of those items into a single directory. However,
65
65
it is much easier to manage the application if you keep them separate.
66
66
Therefore, the recommended layout is::
67
67
68
- Application directory
69
- MyAwesomePythonApp.exe
70
- interp
71
- (embedded Python interpreter)
72
- lib
73
- (Python code implementing the application)
68
+ Application directory/
69
+ ├── MyAwesomePythonApp.exe
70
+ ├── interp/
71
+ │ ├── (embedded Python interpreter)
72
+ │ └── ...
73
+ └── lib/
74
+ ├── (Python code implementing the application)
75
+ └── ...
74
76
75
77
The remainder of this guide will assume this layout.
76
78
@@ -157,7 +159,7 @@ resulting file will look like this::
157
159
# Uncomment to run site.main() automatically
158
160
#import site
159
161
160
- If you have put your application Python code somewhere else, this is the only
162
+ If you have placed your application's Python code somewhere else, this is the only
161
163
thing you need to change. The file contains a list of directories (relative to
162
164
the interpreter directory) which will be added to Python's ``sys.path `` when
163
165
starting the interpreter.
0 commit comments