Cleanup in paths.py and related documents
This commit is contained in:
+5
-1
@@ -537,7 +537,11 @@ Directory that contains the bundled application files at runtime:
|
||||
| --- | --- |
|
||||
| Frozen, `sys._MEIPASS` set | `Path(sys._MEIPASS)` |
|
||||
| Frozen, no `_MEIPASS` | Directory of `sys.executable` |
|
||||
| Source checkout | Parent of the `ki18n` package directory |
|
||||
| Not frozen | Parent of the `ki18n` package directory |
|
||||
|
||||
When `ki18n` is installed as a package, "not frozen" means the directory that
|
||||
contains the package (for example `site-packages`), not your application
|
||||
directory. In that case pass `project_root` explicitly.
|
||||
|
||||
For a frozen application, pass `bundle_root()` as `project_root` if the `i18n/`
|
||||
folder is bundled there:
|
||||
|
||||
Reference in New Issue
Block a user