Re: Python script conversion

2005-10-13 Thread Luis Rivera
Angus Leeming <[EMAIL PROTECTED]> writes: > > Luis Rivera wrote: > > I think this is the wrong approach, if there is some way to implement > > script/macro running right from inside LyX. > > > > If Bo Peng is right, he can try turning all shell scripts into python; > > and if the developers embe

Re: Python script conversion

2005-10-13 Thread Angus Leeming
Luis Rivera wrote: > I think this is the wrong approach, if there is some way to implement > script/macro running right from inside LyX. > > If Bo Peng is right, he can try turning all shell scripts into python; > and if the developers embed python within LyX, you don't need to call > python.exe,

Re: Python script conversion

2005-10-13 Thread Luis Rivera
<[EMAIL PROTECTED]> writes: > > Dears, > > I found that I could convert all the python script to .exe. > Thus I can remove Pyhthon dependecy. > In case I know well, there are some python script left in the script > directory. > I could relocate lyx2lyx here, and convert other scripts to .exe.

Re: Python script conversion

2005-10-13 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> convert.exe and aspell.exe should be easy to handle, Well, it seems that convert.exe uses a lot of libraries, but there may be a static version also. Concerning aspell, the main problem will be the dictionaries. Bo> and packing miktex is not

Re: Python script conversion

2005-10-12 Thread Bo Peng
> > I found that I could convert all the python script to .exe. > > Thus I can remove Pyhthon dependecy. > > Are you sure? Also, there are some dynamically generated sh scripts that might be translated to dynamically generated python script later so an interpreter is needed. Bo

Re: Python script conversion

2005-10-12 Thread Mike Meyer
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed: > > 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 seve

Re: Python script conversion

2005-10-12 Thread Alex
Dear Mike, > Are you sure? The only way I know of to convert a python script to > .exe is with py2exe, which does it by creating an executable archive, > and putting all the scripts that make up the program and the python > interpreter in the archive. It doesn't remove the Python dependency so > m

Re: Python script conversion

2005-10-12 Thread Mike Meyer
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed: > Dears, > > I found that I could convert all the python script to .exe. > Thus I can remove Pyhthon dependecy. Are you sure? The only way I know of to convert a python script to .exe is with py2exe, which does it by creating an executable archive,