Thanks for the pointer. I had gone through that doc a couple of times and 
still had some questions and hence i asked.

1. sand boxing
   I use virtualenv for sandboxing and has worked great. infact when 
experimenting with making this work with pip, 
thats what I am doing trying to make install work into a virtualenv 
sandboxed python installation. So I suspect I can make this work
with virtualenv

2. pyjamas libraries and its replacements for sys and time and stuff.
   If this gets installed to override the standard libraries it will be a 
problem. But from what I can tell, these can be installed
as pyjs.stdlib.sys/time/etc and when the compile/build script could still 
do their little path magic to work with such an install.
Atleast thats what I am thinking of doing. Would love to know if this has 
been tried or if there are any pitfalls I should be aware off.

3. I see pyjs/pyjs/setup.py but I can't seem to get it to work and is not 
documented in INSTALL.txt I only see bootstrap.py
approaches described.

4. I see this setup.py has entry points for sm and translate. i.e. it will 
install commands called sm and translate into /usr/bin
Can't seem to figure out what their purpose would or if they should be 
eliminated or ignored.

5. I've tried both pyjscompile, which seems to be for a single file and 
pyjsbuild for a whole suite of files. But not sure what pyjampiler is?

6. Not sure what the role of pgen/ and library/ directories are. Are they 
part of the compiler or are they part of the widget library.

7. The last thing I am trying to do is to see how I can translate a simple 
helloworld.py program into java script and run using the V8 command line 
interpreter.
Can't seem to figure out if I should use pyjampiler, pyjscompile or 
pyjsbuild. I've tried them they seem to generating incomplete code as is 
the case of 
pyjscompile or too much more code relating to windows and stuff if I used 
pyjsbuild. Has any one tried compiling a simple helloworld.py program, 
translated 
it into simple javascript and run it inside V8 interpreter as opposed to 
the browser?

Sarvi

On Wednesday, October 9, 2013 12:16:35 PM UTC-7, waterbug wrote:
>
> Sarvi, 
>
> INSTALL.txt in the pyjs distribution will answer a number 
> of your questions -- in particular, why it doesn't make 
> sense to 'pip install' pyjs. 
>
> Steve 
>
> On 10/09/2013 02:54 PM, Sarvi Shanmugham wrote: 
> > 
> > Hi 
> >      I was trying to make this installable with pip and have a few 
> > questions for the experts who understand how the code is organized. 
> > 
> > 1. Is there a description of how the code is organized. What parts are 
> > the compiler. What parts are standard libraries/stuff that should be 
> > part of the compiler. What parts are pyjamas widget sets separate from 
> > the compiler. 
> > 2. What is difference between pyjampiler, pyjscompile and pyjsbuild. 
> > 3. I also notice that wihin pyjs/pyjs there is a setup.py 
> >      3.1 Doesn't seem to work for me. How is that different from the 
> > bootstrap.py. 
> >      3.2 that also has a few entry points, translate and sm. what are 
> they? 
> > 4. In general what is the history behind bootstrap.py and not having a 
> > setup.py and not installing it before running. 
> > 
> > 
> > Sarvi 
> > 
> > -- 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> > Groups "Pyjs.org Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to pyjs-users+...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyjs-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to