New (optional) python egg dependency generator for RPM

Neal Gompa ngompa13 at gmail.com
Tue Nov 17 14:46:39 UTC 2015


On Tue, Nov 17, 2015 at 9:44 AM, Toshio Kuratomi <a.badger at gmail.com> wrote:
>
> On Nov 17, 2015 6:06 AM, "Nick Coghlan" <ncoghlan at gmail.com> wrote:
>>
>> On 17 November 2015 at 23:25, Neal Gompa <ngompa13 at gmail.com> wrote:
>> > As for naming, I'm all ears for a better name, because if the "egg"
>> > name is going away, I'd rather it not continue to say that.
>>
>> My suggestions would be either:
>>
>>     python2dist(name)/python3dist(name)
>>
> I'd favor this form due to the import names conflict that Nick mentions (not
> that I think anyone will code an auto generator that uses import names once
> this is accepted.. this seems good enough to carry the day.)
>
> One thing I would change, though: instead of python2dist(name) use
> python2.7dist(name).  A module built for python 2.7 won't be able to import
> a module built for python2.6 (the python interpreter won't look in the
> directories in which the files are placed) so without both the major.minor
> numbers we won't be able to rely on the auto generated requires in the spec
> file.
>
> -Toshio

That's already guaranteed by the auto-generated python(abi) requires,
and that would also make it hugely problematic to use in spec files in
any distro agnostic manner, so I don't think I will do that.



-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the python-devel mailing list