#162: Provide a simpler way to access data files
---------------------------+------------------------------------------------
Reporter: giovannibajo | Owner: williamcaban
Type: defect | Status: new
Priority: normal | Milestone: PyInstaller 1.5
Component: Documentation | Version:
Severity: blocker | Keywords:
---------------------------+------------------------------------------------
Currently, accessing data files is harder than it should be, because
_MEIPASS2 is only set in one-file mode; thus, people have to recur to ifs
(also runtime hooks).
The bootloader should export an environment variable called something like
"_PYI_WORKDIR" which points to either the temporary directory in onefile
mode or the directory where the executable is in onedir mode.
--
Ticket URL: <http://www.pyinstaller.org/ticket/162>
Pyinstaller <http://www.pyinstaller.org>
PyInstaller Project
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.