Py-backwards packager
Setuptools integration with py-backwards.
Usage
Install py-backwards-packager:
pip install py-backwards-packager
Change setup
import in setup.py
to:
try:
from py_backwards_packager import setup
except ImportError:
from setuptools import setup
By default all targets enabled, but you can limit them with:
setup(...,
py_backwards_targets=['2.7', '3.3'])
After that your code will be automatically compiled on bdist
and bdist_wheel
.