[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Philipp von Weitershausen
Jim Fulton wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport You write: We are making increasing use of Python eggs for Zope development. We need to be able to load ZCML from eggs. That obviously raises

[Zope3-dev] Re: RFC: Loading Configuration from the zope.app Egg

2006-10-23 Thread Philipp von Weitershausen
Jim Fulton wrote: I've created a proposal to deal with eggifying zope.app: http://zope3.zwiki.org/LoadingConfigurationFromTheZopeAppEgg (That's a confusing title for a proposal that deals with eggifying zope.app, because it seems to me that the configuration issue is just a minor detail

Re: [Zope3-dev] RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Lennart Regebro wrote: On 10/22/06, Jim Fulton [EMAIL PROTECTED] wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport Shouldn't the egg work as a package, so that you still can use the package attribute? If an

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Rocky Burt
On Mon, 2006-23-10 at 06:48 -0400, Jim Fulton wrote: Lennart Regebro wrote: On 10/22/06, Jim Fulton [EMAIL PROTECTED] wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport Shouldn't the egg work as a

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Philipp von Weitershausen wrote: Jim Fulton wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport You write: We are making increasing use of Python eggs for Zope development. We need to be able to load ZCML

[Zope3-dev] Re: RFC: Loading Configuration from the zope.app Egg

2006-10-23 Thread Jim Fulton
Philipp von Weitershausen wrote: Jim Fulton wrote: I've created a proposal to deal with eggifying zope.app: http://zope3.zwiki.org/LoadingConfigurationFromTheZopeAppEgg (That's a confusing title for a proposal that deals with eggifying zope.app, because it seems to me that the

Re: [Zope3-dev] RFC: Zope Configuration Egg Support

2006-10-23 Thread Nathan R. Yergler
On 10/22/06, Jim Fulton [EMAIL PROTECTED] wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport I like; this would be really useful for us at Creative Commons. I also like Philipp's idea of being able to say

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Rocky Burt wrote: On Mon, 2006-23-10 at 06:48 -0400, Jim Fulton wrote: Lennart Regebro wrote: On 10/22/06, Jim Fulton [EMAIL PROTECTED] wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport Shouldn't the egg work

Re: [Zope3-dev] RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Nathan R. Yergler wrote: On 10/22/06, Jim Fulton [EMAIL PROTECTED] wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport I like; this would be really useful for us at Creative Commons. I also like Philipp's idea

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Rocky Burt
On Mon, 2006-23-10 at 07:54 -0400, Jim Fulton wrote: Seems strange to have to differentiate between regular packages and egg-available packages. Perhaps I'm expecting too much from eggs... having been spoiled by jars. We aren't taking about import. We are talking about reading files.

Re: [Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Benji York
Jim Fulton wrote: Perhaps we should change the package option so that it uses the pkg_resources API to load ZCML files from packages. +1 I'd prefer not having to specify if the source was an egg or just a normal package. -- Benji York Senior Software Engineer Zope Corporation

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benji York wrote: Jim Fulton wrote: Perhaps we should change the package option so that it uses the pkg_resources API to load ZCML files from packages. +1 I'd prefer not having to specify if the source was an egg or just a normal package. +1

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Rocky Burt
On Mon, 2006-23-10 at 10:02 -0230, Rocky Burt wrote: Unless I'm totally off base here, my feeling is that Java has done a nice job of dealing with this situation a long time ago. Of course Java has had jar support (and I believe ClassLoader.getResource support) since java 1.1 and we're only

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Rocky Burt
On Mon, 2006-23-10 at 08:46 -0400, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benji York wrote: Jim Fulton wrote: Perhaps we should change the package option so that it uses the pkg_resources API to load ZCML files from packages. +1 I'd prefer not having to

[Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Rocky Burt wrote: On Mon, 2006-23-10 at 07:54 -0400, Jim Fulton wrote: Seems strange to have to differentiate between regular packages and egg-available packages. Perhaps I'm expecting too much from eggs... having been spoiled by jars. We aren't taking about import. We are talking about

Fwd: [Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Fred Drake
Resending; something went wrong along the way... -- Forwarded message -- From: Fred Drake [EMAIL PROTECTED] Date: Oct 23, 2006 9:44 AM Subject: Re: [Zope3-dev] Re: RFC: Zope Configuration Egg Support To: Jim Fulton [EMAIL PROTECTED] Cc: Rocky Burt [EMAIL PROTECTED], Zope 3

Re: [Zope3-dev] RFC: Zope Configuration Egg Support

2006-10-23 Thread Lennart Regebro
On 10/23/06, Jim Fulton [EMAIL PROTECTED] wrote: If an egg installs a package and if the package isn't a namespace package, and if the egg isn't zipped, then yes, the package mechanism will work. Ick. That's a lot of ifs... Because you then get the problem if you switch between an egg

Re: Fwd: [Zope3-dev] Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Fred Drake wrote: Resending; something went wrong along the way... -- Forwarded message -- From: Fred Drake [EMAIL PROTECTED] Date: Oct 23, 2006 9:44 AM Subject: Re: [Zope3-dev] Re: RFC: Zope Configuration Egg Support To: Jim Fulton [EMAIL PROTECTED] Cc: Rocky Burt [EMAIL

[Zope3-dev] Re: Fwd: Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Rocky Burt
On Mon, 2006-23-10 at 10:28 -0400, Jim Fulton wrote: Fred Drake wrote: There's this draft proposal; I guess it's time for me to finish this: http://zope3.zwiki.org/ZIPImportSupportForZope3 This reflects work I did at the Goldegg packaging sprint in San Jose. The changes from the

Re: [Zope3-dev] RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Jim Fulton wrote: I've created a small proposal to add egg support to zope.configuration: http://zope3.zwiki.org/ZopeConfigurationEggSupport Comments welcome. Thanks for the many comments. I've decided to retract this proposal in favor of

[Zope3-dev] Re: Fwd: Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Jim Fulton
Rocky Burt wrote: On Mon, 2006-23-10 at 10:28 -0400, Jim Fulton wrote: Fred Drake wrote: There's this draft proposal; I guess it's time for me to finish this: http://zope3.zwiki.org/ZIPImportSupportForZope3 ... Can I ask why Zope needs it's own api for this and we don't just use

[Zope3-dev] buildbot failure in Zope3 trunk 2.4 Linux tlotze

2006-10-23 Thread buildbot
The Buildbot has detected a failed build of Zope3 trunk 2.4 Linux tlotze. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 8387 Blamelist:

Re: [Zope3-dev] Re: Fwd: Re: RFC: Zope Configuration Egg Support

2006-10-23 Thread Fred Drake
On 10/23/06, Jim Fulton [EMAIL PROTECTED] wrote: I assume that this is directed at Fred and the ZIPImportSupportForZope3. The code needed for resource loading from ZIP files or other packages that provide the right __loader__ interfaces is pretty minimal. pkg_resources includes a lot of other