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
- Host: GitHub
- URL: https://github.com/nvbn/py-backwards-packager
- Owner: nvbn
- Created: 2017-05-17T16:10:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-26T16:28:21.000Z (over 8 years ago)
- Last Synced: 2025-07-03T00:36:59.521Z (6 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Py-backwards packager [](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