[Distutils] pythonv: let's also make sure the standard Python install includes an "isolated" python

Benji York benji at benjiyork.com
Thu Mar 17 22:45:02 CET 2011


On Thu, Mar 17, 2011 at 5:33 PM, Carl Meyer <carl at oddbird.net> wrote:
>
>
> On 03/17/2011 05:13 PM, Jim Fulton wrote:
>> I suggest the following:
>>
>> Look for argv[0]+'.pythonv' and then for '../pythonv.cfg'.
>>
>> So if I've linked the Python executable to ./bin/clean, look for
>> ./bin/clean.pythonv and ./pythonv.cfg.
>
> Nice - I like the ability to have multiple interpreters side-by-side
> with different pythonv configurations.
>
> Is ".cfg" generally preferred to ".conf" for some good reason? I don't
> personally care too much; the former is shorter but the latter looks
> less ugly to me ;-)
>
> And I kind of dislike the inconsistency in extension; would
> "clean.pythonv.cfg" be acceptable?
>
> To simplify documentation and allow more flexibility, I might just check
> for all four: first the executable-specific one in both directories,
> then the general one in both directories.

Too many variants will get annoying.  Along those lines, if it can be in
multiple places please make having more than one an error.
-- 
Benji York


More information about the Distutils-SIG mailing list