Re: [Zope-dev] zpkg, building zope from source
Also on a similar subject, running 'make install' from a checkout only copies packages that have a 'SETUP.cfg' inside. Is that intentional? I thought someone was in charge of fixing the 'make install' dance. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope-dev] zpkg, building zope from source
On 5/15/06, Sidnei da Silva [EMAIL PROTECTED] wrote: Also on a similar subject, running 'make install' from a checkout only copies packages that have a 'SETUP.cfg' inside. Is that intentional? I thought someone was in charge of fixing the 'make install' dance. Someone might be, and it might even be me (I don't recall). There's been no time for me to work on that, and I don't foresee any in the near future. You're welcome to look into this yourself. I've not been convinced that this is actually an important use case. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Education is hanging around until you've caught on. -- Robert Frost ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope-dev] zpkg, building zope from source
On 5/15/06, Sidnei da Silva [EMAIL PROTECTED] wrote: I was looking at zpkg for the first time today, and was sorry to realize it won't run to completion on a Windows machine due to some minor use of os.WIFEXITED which is due to a dubious use of the 'tar' command, since Python has a 'tarfile' module in the standard library. Since it looks like using tarfile there should work just fine, would anyone mind if I replace this? You're welcome to change it if the external behavior doesn't change. That would make the whole thing easier to use on Windows, which is only slightly objectionable. :-) -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Education is hanging around until you've caught on. -- Robert Frost ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope-dev] zpkg, building zope from source
On Mon, May 15, 2006 at 03:25:55PM -0400, Fred Drake wrote: | On 5/15/06, Sidnei da Silva [EMAIL PROTECTED] wrote: | Also on a similar subject, running 'make install' from a checkout only | copies packages that have a 'SETUP.cfg' inside. Is that intentional? | | I thought someone was in charge of fixing the 'make install' dance. | | Someone might be, and it might even be me (I don't recall). There's | been no time for me to work on that, and I don't foresee any in the | near future. | | You're welcome to look into this yourself. I've not been convinced | that this is actually an important use case. The whole thing seems a bit backwards to me. I'm not sure why some parts of the Zope2 tarball-making process do a checkout from a SVN tag. Why not check everything out of SVN then? I would have thought the procedure for building a tarball would be: 1. Checkout SVN tag 2. Build tarball from the tag checkout (no network required in this step) In the current process it is possible to checkout trunk and make a tarball that has parts of trunk and parts of a tag. One way or another, the real thing I'm after is to be able to run 'make install' from a checkout and end up with the same as running 'make install' from a tarball. If that requires building a tarball and then extracting the tarball it's fine with me, as long as the makefile takes care of it. Heck, once you have all the parts needed to build the tarball, you would be set, no need to tar and then untar. So, I think the real question is: - Can we make it so running 'make zpkg' or 'make pre_sdist' or something builds a directory that is ready to just be tar'd up to generate the final tarball, and that doing 'make install' will pick depend on this step and then run 'install.py' from that directory? I don't think that's too hard. I've played a bit with it, and found out 'zpkgtools' needs to be added to the 'buildsupport' dir at least, if you don't want to require zpkg to be installed, and then I ran out of time after generating a tarball. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )