durumdara wrote:
> Yes. I install pylons by the online help. This is speaking about
> virtualenv...
> Can I use "easyinstall pylons" on normal python installation without
> virtualenv?

yes, you sure can.


You need (Or really, really want...) virtualenv if you want to run more 
than one python app, and they might each require different versions of 
some of the same libs.

You might be developing a new Pylons app with the latest Pylons, while 
maintaining an older app that uses an older version, for instance.

If you are just working on the one project, then you don't need it.

>> If you do need virtualenv, then it cna be a trick. One option is to
>> install PyWin32 first, then build your virtualenv -- I don't recall how,
>> but check the virtualenv docs, you should be able to have your
>> environment use the system win32 module.

according to the virtualenv docs:

"""
The --no-site-packages Option

If you build with virtualenv --no-site-packages ENV it will not inherit 
any packages from /usr/lib/python2.5/site-packages (or wherever your 
global site-packages directory is). This can be used if you don't have 
control over site-packages and don't want to depend on the packages 
there, or you just want more isolation from the global system.
"""

This implies that your virtualenv will have access to teh global 
site-packages if you don't give it that flag. I'm no virtualenv exper, 
though.

> I can copy all win32 files to virtualenv, if needed, but I'm not sure
> they are reference to each others or not, possible some registrations
> are using fix paths.

It's worth a try.

> But this is not only win32 problem. I have pygresql component
> installed in c:\python25. When I tried to easy install pygresql into
> my virtualenv, the easy install failed on recompilation. This showing
> me that easy_install, and virtualenv is usable fully in Linux only,
> the Windows world is not supports every eggs... :-((((

I don't know if it's easy_install per-se -- it's simply that some 
packages are not used much on Windows, and MS does not provide a free, 
standard system compiler.

If you don't do anything with pygresql in your virtualenv, can you 
access it from there?

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to