On 09/22/2014 10:25 PM, Bryan A. Jones wrote:
I keep some .py files both in the .pyd and also as .py source, since
my frozen app loads them as plug-ins (run-time module discovery). Is
that why you want your source files not in the .pyd?
Multiple reasons:
- I'd like to migrate current projects from py2exe to pyinstaller with
the MINIMAL amount of changes
Py2exe has only two options. Either all source files (except th
main executable) are stored in a zip file
or they are just stored in a directory tree in the current
directory. The projects I'd like to convert use all
a non compressed flat directory structure.
- simple debugging / patching: if I distribute an application with
py2exe /pyinstaller and all files are just stored
in a directory structure, then it is VERY easy to just send a bug fix /
patch / debug code and ask to replace
that one file.
- creation of incremental releases: the current py2exe project contains
code, that can checkout two different versions of
an application, ru n py2exe and determine the files, that differ. then
somebody owning already an install of a given version can request,
download and install an incremental update.
- be sure, that code works without special refactoring for pyinstaller /
py2exe.
some modules try to locate certain data files relative to their own
location ( dirname(__file__) ).
if I store files in a plain directory tree and add data files
accordingly. I can be sure that everything is still working.
- having the .pyc files in a flat directory would allow for a VERY
simple merge of two apps (assuming they have the same pythonpath, which
would be the case for my project). I just had to copy together the two
dist directories
- download installation of plugins / plugin discovery is another reason
I'd be very glad if somebody could help me with following two things or
tell me what they have achieved so far.
1.) store modules just in the active directory
2.) store modules in a separate zip file
On Sat, Sep 20, 2014 at 2:39 AM, Gellonida <[email protected]
<mailto:[email protected]>> wrote:
Hi,
Quick background about myself:
So far I used mostly py2exe, but pyinstaller looks to me very
attractive and I'd like to
switch some projects from py2exe to pyinstaller.
- I like the fact, that it is cross platform
- the hooks and dependency detection seem really impressive
- it looks easier
As I'm having a py2exe background I'm asking perhaps some slightly
atypical questions, but
the answers will help me to gradually migrate from py2exe to
pyinstaller.
In the 'One Folder' mode one folder is created, that contains
(under Windows) a set of .dll files
a set of .pyd files 2 manifest files and one execuable.
Are there any means to create a spec file such, that
- the .pyc files will NOT be packed into the executable but
stored directly in the folder tree?
Thanks a lot in advance for any ideas / suggestions
--
You received this message because you are subscribed to the Google
Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.
--
Bryan A. Jones, Ph.D.
Associate Professor
Department of Electrical and Computer Engineering
231 Simrall / PO Box 9571
Mississippi State University
Mississippi state, MS 39762
http://www.ece.msstate.edu/~bjones <http://www.ece.msstate.edu/%7Ebjones>
bjones AT ece DOT msstate DOT edu
voice 662-325-3149
fax 662-325-2298
Our Master, Jesus Christ, is on his way. He'll show up right on
time, his arrival guaranteed by the Blessed and Undisputed Ruler,
High King, High God.
- 1 Tim. 6:14b-15 (The Message)
--
You received this message because you are subscribed to the Google
Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.