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: Re[2]: Python script conversion

2005-10-13 Thread Luis Rivera
--- [EMAIL PROTECTED] wrote: > Dear Bo, > > >> > 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 pytho

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[2]: Python script conversion

2005-10-13 Thread Alex
Dear Jean-Marc, Bo>> convert.exe and aspell.exe should be easy to handle, > be a static version also. Concerning aspell, the main problem will be > the dictionaries. I agree, spellchecking is hard to install It was hard for me to install aspell, it took few mounth to get it working. It was hard to

Re[4]: Python script conversion

2005-10-13 Thread Alex
Dear Bo, > Please send the detailed instructions on how to do this to the list. Ok. Here comes, the detailed how to use it guide. First we need some general build.bat (or build.cmd) file for running the packaging: $ python setup.py py2exe After running the command script, the package generated

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: Re[2]: Python script conversion

2005-10-12 Thread Bo Peng
> What will happen if I try to send an attachment to the mailing list? > Is it allowed? > Please send the detailed instructions on how to do this to the list. After we get rid of perl and mingw and have python scripts compiled like this, we will be much closer to an everything-included lyx distrib

Re[2]: Python script conversion

2005-10-12 Thread Alex
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

Re[2]: Python script conversion

2005-10-12 Thread Alex
Dear Bo, >> > 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. I

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[2]: 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 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,

Python script conversion

2005-10-11 Thread Alex
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. Thus all the converted scripts will reside in th