mirror of
https://github.com/exaloop/codon.git
synced 2025-06-03 15:03:52 +08:00
Update decorator docs
This commit is contained in:
parent
c466e1c326
commit
320dc0aeed
@ -1,13 +1,15 @@
|
|||||||
Codon includes a Python package called `codon` that allows
|
Codon includes a Python package called `codon` that allows
|
||||||
functions or methods within Python codebases to be compiled and
|
functions or methods within Python codebases to be compiled and
|
||||||
executed by Codon's JIT. The `codon` library can be installed
|
executed by Codon's JIT. The `codon` library can be installed
|
||||||
via `pip install`. For example:
|
with `pip`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m pip install codon-0.13.0-cp39-cp39-macosx_12_0_arm64.whl
|
pip install codon-jit
|
||||||
```
|
```
|
||||||
|
|
||||||
where the `*.whl` file is included in the Codon distribution.
|
This library will attempt to use an installed version of Codon.
|
||||||
|
If Codon is installed at a non-standard path, set the `CODON_DIR`
|
||||||
|
environment variable to the installation path.
|
||||||
|
|
||||||
# Using `@codon.jit`
|
# Using `@codon.jit`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user