Dear Mike,
>> > The downside is that you wind up with one copy of Python installed for >> > every script. If you've only got one script, this is ok. If you've got >> > more than one, you probably want to consider another approach. >> It will be the same, using several scripts, too. >> >> I have tried, I can do the following variant: >> - place all the python scripts into the script dir >> - create .exe files for the scripts >> - create an archive file containing python >> >> In this case, you will have only one python packaged , but several small >> scrits converted to .exe. > Unless you're doing something strange, the process of creating the > .exe files will put the python dll and copies of all the library files > into the .exe. Are you doing something to prevent that? And if so - > I'd be interested in knowing what. Yes, I do a little different. Have you read the py2exe documentation? Also have you looked at http://wiki.lyx.org/uploads/LyX/Windows/lyx2lyx-1.4.0cvs-win32-bin.zip this link. This conversion using my approach. Placing the necessary thins into an arcive file, thus making the .exe file small enough to load the rest. It contains similar things. I could build small executables with python libraries in an archive file. I don't know anything about python. I could read documentation, I could try to understand how python could work, but currently that's all. >> A few converted scritps look like this: >> PYTHON23 DLL 979 005 05.02.08 16.23 python23.dll >> W9XPOPEN EXE 16 384 05.02.08 16.24 w9xpopen.exe >> LIBRARY ZIP 311 060 05.10.12 19.30 library.zip >> LYX2LYX EXE 40 960 05.10.12 19.30 lyx2lyx.exe >> GENERA~1 EXE 28 672 05.10.12 19.30 general_command_wrapper.exe >> PIC2AS~1 EXE 28 672 05.10.12 19.30 pic2ascii.exe >> >> So, they can use the same interpreter. > This amounts to simply bundling the Python interpreter with LyX. I > think that's a great option - in fact, I think someone should bundle > up a complete system, with all the dependencies included - but I'm > pretty sure that shouldn't be the only binary offering available. For early lyxes this was the case. Ruurd Reitsma made the same, he was packaged python into the windows installer (so made me troubles after installing another one) :). Therfore, I prefer this .exe variant. I have played a lot with this conversion tool. You can customise it to fit your needs. It is very flexibile. What will happen if I try to send an attachment to the mailing list? Is it allowed? -- Best regards, Alex mailto:[EMAIL PROTECTED]