summaryrefslogtreecommitdiffstats
path: root/python/python3-setuptools-rust-opt/README
blob: bf86a777ba734c743cd907ce65530ab5797ad937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
python3-setuptools-rust-opt (setuptools-rust installed to /opt)

setuptools-rust is a plugin for setuptools to build Rust Python
extensions implemented with PyO3 or rust-cpython.

Installs to /opt/python$PYVER/site-packages

Add the following before the python3 build commands in your
Slackbuild to use this version.:

PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages