>> I haven't tested yet (and someone should) that it does all JUST WORK, >> but thats easy: put an environment marker in a requirements.txt file >> like so: >> >> argparse; python_version < '3'
> I think the last time this came up the feature wasn't available in pip > yet, and so using separate files was the work-around. Are environment > markers fully supported by pip/setuptools/whatever now? Yeah, I developed this feature for OpenStack. My change was merged into pip 6.0: https://github.com/pypa/pip/pull/1472 I forgot to finish the work in OpenStack. I don't know where the pip requirement is specified: we need at least pip 6.0. Victor __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev