[Distutils] What is the syntax for passing conditional non-extra dependencies in setuptools?

Daniel Holth dholth at gmail.com
Tue Apr 8 19:34:10 CEST 2014


On Mon, Apr 7, 2014 at 11:40 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
> On 7 Apr 2014 15:09, "Daniel Holth" <dholth at gmail.com> wrote:
>>
>> I think setuptools' :-separated environment markers mechanism is
>> great, and shouldn't need to be ratified anywhere. I also think the
>> actual environment markers specification is stable, although I noticed
>> the IPython wheel for example is using the deprecated .-separated
>> rather than _-separated identifiers.
>
> I think the one open question was whether or not to tolerate those dots from
> the previous iteration of the syntax where applicable.

I'd lean towards saying we are stuck with them for now in the
.dist-info directories or requirements.txt, but setuptools could
choose to forbid you from passing new dots through setup.py. The only
problem the dots caused was forgetting whether you should use dots or
underscores, and now it's easy to remember that the answer is always
underscore.


More information about the Distutils-SIG mailing list