summaryrefslogtreecommitdiffstats
path: root/python/python3-setuptools-rust-opt/README
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-setuptools-rust-opt/README')
-rw-r--r--python/python3-setuptools-rust-opt/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/python/python3-setuptools-rust-opt/README b/python/python3-setuptools-rust-opt/README
new file mode 100644
index 0000000000..bf86a777ba
--- /dev/null
+++ b/python/python3-setuptools-rust-opt/README
@@ -0,0 +1,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