<p dir="ltr"><br>
On 4 Dec 2014 00:59, "Donald Stufft" <<a href="mailto:donald@stufft.io">donald@stufft.io</a>> wrote:<br>
><br>
><br>
> On Dec 3, 2014, at 9:51 AM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
><br>
>> > - (This is not really related to the switch, but more of a general remark) In [4], it says that "python 3 version of the executable gains a python3- prefix". This is IMO bad, since upstream projects tend to name the versioned binaries "foo-3.4, foo-3" or "foo3.4, foo3". We should accept one of these - I'm not really certain which one of them. I tried to discuss this several times on distutils-sig mailing list, but without reaching a consensus. Either way, prefixing with python3- doesn't make sense to me, because it's not similar to any upstream way and you don't find the binaries under their names using tab completion (e.g. foo<tab> doesn't tell you about python3-foo).<br>
>><br>
>> Agreed.<br>
>><br>
>> CPython & pip use the "foo3.4, foo3" convention, so that seems enough of a reason to use that convention by default. We may want a "unless upstream does it differently" caveat though.</p>
<p dir="ltr">Oops, I just noticed an ambiguity in my caveat. I meant "unless the particular upstream project being packaged does it differently".</p>
<p dir="ltr">> It doesn't really matter right now but long term I think python packaging should just natively support commands like this. Either just as a matter of fact, opt in, or by allowing templated command names. Either way I think the upstream tooling should and likely will follow python's lead for how these are written. </p>
<p dir="ltr">Yeah. It's somewhere on the list of the umpteen gazillion things that could still use improving ;)</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> _______________________________________________<br>
> python-devel mailing list<br>
> <a href="mailto:python-devel@lists.fedoraproject.org">python-devel@lists.fedoraproject.org</a><br>
> <a href="https://admin.fedoraproject.org/mailman/listinfo/python-devel">https://admin.fedoraproject.org/mailman/listinfo/python-devel</a><br>
</p>