Re: [Distutils] Enthought-dev Digest, Vol 48, Issue 49
Dave - I wasn't using the release alias. From what you say, I suppose I should. I think the Enable project might be somewhat different from the others because it uses both distutils and setuptools. I will send you off line a program I used that fixes up the setup.cfg. Stan Klein On Mon, August 11, 2008 2:16 pm, enthought-dev-request@mail.enthought.com
Message: 5 Date: Mon, 11 Aug 2008 12:51:33 -0500 From: Dave Peterson
Subject: Re: [Enthought-dev] Strange naming problem trying to build Enable rpm To: enthought-dev@mail.enthought.com Cc: distutils-sig@python.org Message-ID: <48A07C25.3010904@enthought.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Stanley A. Klein wrote:
I was able to build rpms for Traits, Envisage, and related packages (e.g., TraitsGUI) for Fedora 7. However, when I tried to package Enable I ran into the following problem: The tar.gz gets built as Enable-3.0.0.dev-r21092.tar.gz, but when the rpm packager gets called it looks for Enable-3.0.0.tar.gz, doesn't find it, and errors out. I've copied a relevant part of the output below.
I'm not sure what's happening here since the setup.cfg's for the ETS projects should all be pretty close to the same on this issue. Are you doing a "setup.py release bdist_rpm"? i.e. using the release alias? If not, that's the source of the problem.
BTW: Are you checking in your changes to setup.cfg's? If you don't have privileges, I can make these changes so just send me a patch, set of modified setup.cfgs, or instructions on what to do to reproduce your changes.
-- Dave
Hi Stan, Stanley A. Klein wrote:
Dave -
I wasn't using the release alias. From what you say, I suppose I should.
If you're trying to build rpms for the equivalent of the released sdist's and eggs, then yes, you definitely should. If you look at the setup.cfg files in all ETS projects, they all append build tags of '.dev' and force the svn revision to be tagged on, UNLESS you trigger the release alias or explicitly specify "egg_info -RDb".
I think the Enable project might be somewhat different from the others because it uses both distutils and setuptools.
Nope, not at all. We have a number of other projects using numpy.distutils and setuptools together in ETS.
I will send you off line a program I used that fixes up the setup.cfg.
Excellent. Thanks! -- Dave
participants (2)
-
Dave Peterson
-
Stanley A. Klein