Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

zope.app.publication dependencies (volunteers needed!)

 

 

First page Previous page 1 2 Next page Last page  View All Zope dev RSS feed   Index | Next | Previous | View Threaded


shane at hathawaymix

May 20, 2009, 10:06 AM

Post #26 of 29 (578 views)
Permalink
Re: zope.app.publication dependencies (volunteersneeded!) [In reply to]

Martijn Faassen wrote:
> It might actually be the best to move these ZCML directives *down* into
> zope.component. That won't affect the dependencies of zope.component at
> all in fact; the [zcml] dependencies of zope.component already need all
> the dependencies that zope.app.component's view and resource directives
> implement.

I see that zope.component now relies fairly heavily on the setuptools
"extras_require", which makes the proposed move possible. At what point
did we decide extras_require is good? Just curious.

Shane

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


wichert at wiggy

May 20, 2009, 10:34 AM

Post #27 of 29 (585 views)
Permalink
Re: zope.app.publication dependencies (volunteersneeded!) [In reply to]

Previously Shane Hathaway wrote:
> Martijn Faassen wrote:
> > It might actually be the best to move these ZCML directives *down* into
> > zope.component. That won't affect the dependencies of zope.component at
> > all in fact; the [zcml] dependencies of zope.component already need all
> > the dependencies that zope.app.component's view and resource directives
> > implement.
>
> I see that zope.component now relies fairly heavily on the setuptools
> "extras_require", which makes the proposed move possible. At what point
> did we decide extras_require is good? Just curious.

I think it was grandfathered in.

Wichert.

--
Wichert Akkerman <wichert [at] wiggy> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


faassen at startifact

May 20, 2009, 11:55 AM

Post #28 of 29 (578 views)
Permalink
Re: zope.app.publication dependencies (volunteersneeded!) [In reply to]

Shane Hathaway wrote:
> Martijn Faassen wrote:
>> It might actually be the best to move these ZCML directives *down* into
>> zope.component. That won't affect the dependencies of zope.component at
>> all in fact; the [zcml] dependencies of zope.component already need all
>> the dependencies that zope.app.component's view and resource directives
>> implement.
>
> I see that zope.component now relies fairly heavily on the setuptools
> "extras_require", which makes the proposed move possible. At what point
> did we decide extras_require is good? Just curious.

We didn't. This extras_requires has been in there for a long time, as
the other ZCML statements are already defined in it.

In the past I proposed pulling out the ZCML statement implementations
from zope.component into something like zope.componentzcml, or
zcml.component or whatnot. That could still happen, if we can find some
consensus.

Regards,

Martijn

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


faassen at startifact

May 22, 2009, 9:57 AM

Post #29 of 29 (548 views)
Permalink
Re: zope.app.publication dependencies (volunteers needed!) [In reply to]

Hey,

Chris McDonough wrote:
[snip]
> I tried to go after this today (reversing the dependency setup between
> zope.formlib and zope.app.form). There are hundreds of changes that need to be
> made to move interfaces to zope.formlib. I made them (more or less
> mechanically) but then couldn't get the tests to pass. Since I don't actually
> use zope.formlib, I don't think it's appropriate that I commit anything.

All right, thanks for trying. Hopefully someone else can take a look at
it at some point.

> OTOH, I'm pretty convinced that this action would be a win for packages that
> depend on formlib. I found these:
>
> ./zope.app.component-3.7.0-py2.5.egg/EGG-INFO/requires.txt:zope.formlib
> ./zope.app.exception-3.5.0-py2.5.egg/EGG-INFO/requires.txt:zope.formlib
> ./zope.app.zcmlfiles-3.5.3-py2.5.egg/EGG-INFO/requires.txt:zope.formlib

With the recent changes zope.app.component is almost devoid of code and
packages that relied on zope.app.component now can rely on other
packages and entirely avoid the zope.formlib dependency.

zope.app.exception only depended on formlib's namedtemplate facility
which now resides in zope.app.pagetemplate instead.

zope.app.zcmlfiles is a scary package that just pulls in a lot of ZCML
that hopefully can vanish entirely over time.

Regards,

Martijn

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

First page Previous page 1 2 Next page Last page  View All Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.