[Distutils] Making install a no-op
brett at python.org
Sat Jul 11 18:50:23 CEST 2015
The way I handled itnin importlib was to version check in setup.py and if
importlib would be in the stdlib I would use an empty list to represent
what to install. That way users didn't have use markers and need to know
importlib was in some specific version of Python (basically argparse has
made people expect backports to just magically work).
On Fri, Jul 10, 2015, 14:38 Ethan Furman <ethan at stoneleaf.us> wrote:
> I have recently received a request to make installing enum34 a no-op on
> Python3.4 and later so that wheels, etc, don't have to worry about the
> Python version when dealing with Enum.
> From an enum34 point-of-view this makes sense since Enum is in the stdlib
> in 3.4+, and enum34 has no purpose -- but how? Is it a simple matter of
> checking for the Python version and raising
> SystemExit if enum34 is not needed?
> Distutils-SIG maillist - Distutils-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG