Re: [Zope3-dev] Re: Building standalone ZPT from Zope 3 using zpkgtools

2005-04-22 Thread Stephan Richter
On Thursday 21 April 2005 23:16, Shane Hathaway wrote:
> Tres Seaver wrote:
> > It sounds like you are using Zope3 as libraries, which is the
> > traditional "sweet spot" for distutis;  zpkgutils is really aimed at the
> > kind of usage where distutils sucks^H^H^H^H^Hfails to meet expectations,
> > which is to allow installation of a Python-base *application*, including
> > related "add-on" packages.
>
> Ok, that makes sense.  Still, if the application is large enough, I'd
> prefer to bundle Python with it, making distutils useful even for
> applications.

Now you go down a slippery road. If we distribute Python with Zope 3, then 
whenever a minor Python version is released, we have to release Zope 3 again. 
This is especially true for security fixes. Honestly, we do not have the 
man-power to do that. If Python is separate, I just go to my package update 
tool, update Python and I am all set.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Building standalone ZPT from Zope 3 using zpkgtools

2005-04-21 Thread Shane Hathaway
Tres Seaver wrote:
> It sounds like you are using Zope3 as libraries, which is the
> traditional "sweet spot" for distutis;  zpkgutils is really aimed at the
> kind of usage where distutils sucks^H^H^H^H^Hfails to meet expectations,
> which is to allow installation of a Python-base *application*, including
> related "add-on" packages.

Ok, that makes sense.  Still, if the application is large enough, I'd
prefer to bundle Python with it, making distutils useful even for
applications.

Shane
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Building standalone ZPT from Zope 3 using zpkgtools

2005-04-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shane Hathaway wrote:
> Shane Hathaway wrote:
> 
>>Jim Fulton wrote:
>>
>>
>>>Thanks for the positive feedback. Fred Drake worked very hard
>>>on this.  One thing we did right was to leverage distutils
>>>ability to build binary releases.  I'm also encouraged by work done
>>>at the recent PyCon sprints that someday we'll even have a packaging
>>>system, for Python that will allow us to make installation of packages
>>>much easier too.
>>
>>
>>FWIW, my original reason for trying Gentoo Linux was to evaluate its
>>packaging system, Portage, which is written in Python.  I intended to
>>grab ideas and incorporate them into a new packaging system, but Portage
>>turned out to be so good that I switched to Gentoo and stopped designing
>>my own system.  Portage also leverages distutils and can produce/consume
>>binary packages.
>>
>>Have you thought about porting Portage, or something like it, for use as
>>a general Python package management system?
> 
> 
> BTW, I'll give you an escape hatch. ;-)  Portage is licensed under the
> GPL, which probably excludes it from the Python standard library.
> 
> I'm sure Fred is doing excellent work, but I'm having trouble seeing why
> we need zpkgtools.  Is it not sufficient to just "python setup.py
> install" all of Zope 3?  I've been doing that with Zope 3 Subversion
> checkouts and Twisted, even though I actually use less than 10% of the
> code installed.  In fact, my co-workers are about to put such a system
> into production.  The unused code causes no problems that I've detected.


The thing about namespace pollution is that you often don't notice the
effects until long after the "offending" code runs.

It sounds like you are using Zope3 as libraries, which is the
traditional "sweet spot" for distutis;  zpkgutils is really aimed at the
kind of usage where distutils sucks^H^H^H^H^Hfails to meet expectations,
which is to allow installation of a Python-base *application*, including
related "add-on" packages.


Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCaFPeGqWXf00rNCgRAu1IAJ9oRPIN55YtSLvXIncmyGYqy0wlsACeMYih
uRMNuyA+zDn5ZDrhgIiwMe0=
=Jt8T
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com