[Distutils] setuptools: can I specify different install_requires for different python versions?

Matthew Wilson matt at tplus1.com
Tue Jul 28 21:36:01 CEST 2009


On Tue, Jul 28, 2009 at 3:26 PM, P.J. Eby<pje at telecommunity.com> wrote:

> Yes.  Write your setup.py to check the Python version, and build up the
> requirements in a variable before calling setup().

Right -- it's a program, not a config file.  Now I see why that is so
useful.  Thanks!

Matt

-- 
Matthew Wilson
matt at tplus1.com
http://tplus1.com


More information about the Distutils-SIG mailing list