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? -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
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 Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sidnei da Silva 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.
What packages are you expecting to see installed which are not? I think the intent was to quit installing by default the "extras" which are part of the checkout, but never part of a release. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEaMXR+gerLs4ltQ4RAgUdAJ98sNAGxFLzmKws/vobJRejKQQp1gCgt+8a 4ZoG8+m/O33dVwLslB0XbmE= =8AqX -----END PGP SIGNATURE-----
On Mon, May 15, 2006 at 02:17:53PM -0400, Tres Seaver wrote: | -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | Sidnei da Silva 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. | | What packages are you expecting to see installed which are not? I think | the intent was to quit installing by default the "extras" which are | part of the checkout, but never part of a release. Erm, 'App' and 'Zope2' to boot? :) -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
On 5/15/06, Sidnei da Silva <sidnei@enfoldsystems.com> 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
On Mon, May 15, 2006 at 03:25:55PM -0400, Fred Drake wrote: | On 5/15/06, Sidnei da Silva <sidnei@enfoldsystems.com> 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 Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
On 5/15/06, Sidnei da Silva <sidnei@enfoldsystems.com> 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
participants (3)
-
Fred Drake -
Sidnei da Silva -
Tres Seaver