An open API service indexing awesome lists of open source software.

https://github.com/nvbn/py-backwards-packager

Setuptools integration with py-backwards
https://github.com/nvbn/py-backwards-packager

Last synced: 5 months ago
JSON representation

Setuptools integration with py-backwards

Awesome Lists containing this project

README

          

# Py-backwards packager [![Build Status](https://travis-ci.org/nvbn/py-backwards-packager.svg?branch=master)](https://travis-ci.org/nvbn/py-backwards-packager)

Setuptools integration with [py-backwards](https://github.com/nvbn/py-backwards).

## Usage

Install py-backwards-packager:

```bash
pip install py-backwards-packager
```

Change `setup` import in `setup.py` to:

```python
try:
from py_backwards_packager import setup
except ImportError:
from setuptools import setup
```

By default all targets enabled, but you can limit them with:

```python
setup(...,
py_backwards_targets=['2.7', '3.3'])
```

After that your code will be automatically compiled on `bdist` and `bdist_wheel`.

## License MIT