Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren

 I suggest creating individual, quarantined sandboxes using zopeproject: 
 http://cheeseshop.python.org/pypi/zopeproject

Can you tell me how I can get the eggs in the sandbox into the python path
so my auto-completion will work while developing for Zope?  When I do a
python setup.py install the eggs are added to the easy-install.pth this
does not happen in the sandbox.  I guess this can be done manually but
creating pth files for each package in the sandbox seems like a hassle and
hopefully there is a better way.

Thanks
-- 
View this message in context: 
http://www.nabble.com/zope.app.session-and-eggs--tf4517094.html#a12885645
Sent from the Zope3 - users mailing list archive at Nabble.com.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Santiago Videla
I think that he's saying that it's better to have a virtual python
enviroment instead of use the global python. In other thread in the list you
will find something like this:

 $ python virtualenv.py env
 ...
 $ cd env
 $ bin/easy_install zopeproject
 ...
 $ bin/zopeproject HelloWorld

checkout:
http://cheeseshop.python.org/pypi/virtualenv
http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python

cheers

On 9/25/07, Mats Nordgren [EMAIL PROTECTED] wrote:


  I suggest creating individual, quarantined sandboxes using zopeproject:
  http://cheeseshop.python.org/pypi/zopeproject

 Can you tell me how I can get the eggs in the sandbox into the python path
 so my auto-completion will work while developing for Zope?  When I do a
 python setup.py install the eggs are added to the easy-install.pth this
 does not happen in the sandbox.  I guess this can be done manually but
 creating pth files for each package in the sandbox seems like a hassle and
 hopefully there is a better way.

 Thanks
 --
 View this message in context:
 http://www.nabble.com/zope.app.session-and-eggs--tf4517094.html#a12885645
 Sent from the Zope3 - users mailing list archive at Nabble.com.

 ___
 Zope3-users mailing list
 Zope3-users@zope.org
 http://mail.zope.org/mailman/listinfo/zope3-users




-- 
Santiago Videla
www.revolucionesweb.com.ar

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que [EMAIL PROTECTED] [EMAIL PROTECTED] somos.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren

 I suggest creating individual, quarantined sandboxes using zopeproject: 
 http://cheeseshop.python.org/pypi/zopeproject

Can you tell me how I can get the eggs in the sandbox into the python path
so my auto-completion will work while developing for Zope?  When I do a
python setup.py install the eggs are added to the easy-install.pth this
does not happen in the sandbox.  I guess this can be done manually but
creating pth files for each package in the sandbox seems like a hassle and
hopefully there is a better way.

Thanks
-- 
View this message in context: 
http://www.nabble.com/zope.app.session-and-eggs--tf4517094.html#a12885689
Sent from the Zope3 - users mailing list archive at Nabble.com.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren

 I think that he's saying that it's better to have a virtual python
 enviroment instead of use the global python. In other thread in the list
 you
 will find something like this:

 $ python virtualenv.py env
 ...
 $ cd env
 $ bin/easy_install zopeproject
 ...
 $ bin/zopeproject HelloWorld

That looks like a nice solution.  Wasn't aware of this before.  Now when I
run the zopeproject I get the following error.  Not sure it is related to
virtualenv.py or if it is something that is changed in the PyPI.

snip
src\zope\i18nmessageid\_zope_i18nmessageid_message.c:125: warning:
'Message_trav
erse' defined but not used
error: Setup script exited with error: command 'gcc' failed with exit status
1
An error occured when trying to install zope.i18nmessageid 3.4.2.Look above
this
 message for any errors thatwere output by easy_install.
An error occured when trying to install zope.i18nmessageid 3.4.2.Look above
this
 message for any errors thatwere output by easy_install.
While:
  Installing app.
  Getting distribution for 'zope.i18nmessageid'.
Error: Couldn't install: zope.i18nmessageid 3.4.2

Thanks,

Mats
-- 
View this message in context: 
http://www.nabble.com/zope.app.session-and-eggs--tf4517094.html#a12887987
Sent from the Zope3 - users mailing list archive at Nabble.com.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren

PS, this only happens in the virtual instance, it compiles with MinGW just
fine on a pure zopeproject with global python.



Mats Nordgren wrote:
 
 I think that he's saying that it's better to have a virtual python
 enviroment instead of use the global python. In other thread in the list
 you
 will find something like this:
 
 $ python virtualenv.py env
 ...
 $ cd env
 $ bin/easy_install zopeproject
 ...
 $ bin/zopeproject HelloWorld
 
 That looks like a nice solution.  Wasn't aware of this before.  Now when I
 run the zopeproject I get the following error.  Not sure it is related to
 virtualenv.py or if it is something that is changed in the PyPI.
 
 snip
 src\zope\i18nmessageid\_zope_i18nmessageid_message.c:125: warning:
 'Message_trav
 erse' defined but not used
 error: Setup script exited with error: command 'gcc' failed with exit
 status 1
 An error occured when trying to install zope.i18nmessageid 3.4.2.Look
 above this
  message for any errors thatwere output by easy_install.
 An error occured when trying to install zope.i18nmessageid 3.4.2.Look
 above this
  message for any errors thatwere output by easy_install.
 While:
   Installing app.
   Getting distribution for 'zope.i18nmessageid'.
 Error: Couldn't install: zope.i18nmessageid 3.4.2
 
 Thanks,
 
 Mats
 

-- 
View this message in context: 
http://www.nabble.com/zope.app.session-and-eggs--tf4517094.html#a12888094
Sent from the Zope3 - users mailing list archive at Nabble.com.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.app.session and eggs?

2007-09-25 Thread Mats Nordgren

 Yes. Somebody created a new zope.app.session egg that doesn't contain a 
 CHANGES.txt. We'll try and upload a new one. Thanks for catching this.

Looks like zope.app.session is fixed, thanks.  Now I get an error with
zope.event.

Installed h:\python24\lib\site-packages\zope.event-3.4.0-py2.4.egg
Searching for zope.minmax
Reading http://pypi.python.org/simple/zope.minmax/
Couldn't find index page for 'zope.minmax' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for zope.minmax
error: Could not find suitable distribution for
Requirement.parse('zope.minmax')
-- 
View this message in context: 
http://www.nabble.com/zope.app.session-and-eggs--tf4517094.html#a12888485
Sent from the Zope3 - users mailing list archive at Nabble.com.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users