conditional install/distribution

i3dmaster i3dmaster at gmail.com
Thu Sep 11 12:20:53 EDT 2008


Is there a feature in distutils or easy_install to specify what
version of python that the target package can be installed? For
example, if a package has a module that only needed if the python
version < 2.6, is there a way to specifiy that in setup.py or
easy_install cfg file so that when installing to python >= 2.6, this
module wouldn't be installed??

Thanks,
Jim



More information about the Python-list mailing list