[Zope3-Users] zope3, site-packages and easy_install

2006-10-27 Thread Michael Haubenwallner

a short question on using eggs and zope3 dev/checkout together

had a case yesterday: easy_installed zope.schema (and automatically its 
dependencies)


easy_install adds its paths in front of all other paths to sys.path
-- this broke my zope3 svn checkout; first sign:  bin/zopectl debug 
didn't work anymore


what should one suggest for development ?
- using zope3 checkout with its own python interpreter
- or remove site-packages from zope3 sys.path

what to do in deployment environment ?
- using zope3 deploment with its very own python interpreter
- you never now when anyone will add another piece to site-packages

i think this will affect buildouts too as they rely on a common python 
install.


Michael

--
http://zope.org/Members/d2m
http://planetzope.org

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


Re: [Zope3-Users] zope3, site-packages and easy_install

2006-10-27 Thread Fred Drake

On 10/27/06, Michael Haubenwallner [EMAIL PROTECTED] wrote:

what should one suggest for development ?
- using zope3 checkout with its own python interpreter
- or remove site-packages from zope3 sys.path


I use a pristine Python installation that doesn't have anything else
installed into it.  It's shared among buildouts, but nothing else
touches the installation.


what to do in deployment environment ?
- using zope3 deploment with its very own python interpreter
- you never now when anyone will add another piece to site-packages


Yep.  Every deployment gets a private interpreter.  The system
interpreter can't be trusted since we don't know what patches may be
been installed, or what might change in updates applied by a sysadmin.


 -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Every sin is the result of a collaboration. --Lucius Annaeus Seneca
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope3, site-packages and easy_install

2006-10-27 Thread Fred Drake

On 10/27/06, Jim Fulton [EMAIL PROTECTED] wrote:

Lets not forget: or what might have been left out by the system packager.


Good point.  We've often encountered systems where distutils has been
left out, mistaken for something only needed by developers.


 -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Every sin is the result of a collaboration. --Lucius Annaeus Seneca
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users