py-backwards-packager

Setuptools integration with py-backwards


License
MIT
Install
pip install py-backwards-packager==0.2

Documentation

Py-backwards packager Build Status

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.

License MIT