[Distutils] Finding dependencies and Limiting download
Ian Bicking
ianb at colorstudy.com
Wed Mar 15 17:41:03 CET 2006
Phillip J. Eby wrote:
> At 10:31 AM 3/15/2006 -0600, Ian Bicking wrote:
>
>> Phillip J. Eby wrote:
>>
>>> That's because you're using 'install' rather than 'bdist_rpm'. If
>>> for some reason you can't use bdist_rpm, you should use the
>>> --single-version-externally-managed option to the 'install' command,
>>> which tells easy_install that you're building a system package, so it
>>> won't try to do dependencies and it won't build an egg file or
>>> directory. Instead, it will install packages in the "traditional"
>>> way, with the addition of a .egg-info/ directory that contains the
>>> package's metadata so it will still work correctly at runtime.
>>
>>
>> One thing that came up is that --single-version-... doesn't seem to
>> work with Paste's namespace packages.
>
>
> How so?
Well, I should say, it *works*, but as RPMs it doesn't work, because
they all write to the same __init__.py. They all write the same content
to __init__.py, but RPM doesn't like that.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list