[![Build Status](https://travis-ci.org/leonardt/pycoreir.svg?branch=master)](https://travis-ci.org/leonardt/pycoreir)
Ultralight Python bindings for [coreir](https://github.com/rdaly525/coreir) using ctypes.
```
pip install coreir
```
The Python package comes with a wheel that contains a pre-built CoreIR binary supporting manylinux and MacOS. If the package finds a pre-existing installation of CoreIR (e.g. compiled from source), it will default to using that rather than the shipped binary (this enables you to override the package binary if, for example, you're using a development version to test a new feature).
[CHANGELOG](./CHANGELOG.md)
# Development Setup
Install a local working copy to your python packages using
```
pip install -e .
```
**NOTE:** When working with an editable link, as of 7/31/19, `pip uninstall
coreir` will not correctly remove the installed script (see
https://github.com/pypa/pip/issues/5997), a workaround is to remove the scrip
manually when uninstalling, (e.g. `rm ~/miniconda3/bin/coreir`)
To run the tests
```
pip install pytest
pytest
```
PyPI 官网下载 | coreir-2.0.60.tar.gz
版权申诉
127 浏览量
2022-01-27
00:21:57
上传
评论
收藏 14KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+