aboutsummaryrefslogtreecommitdiff
path: root/python/python3-setuptools-scm-opt/README
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-setuptools-scm-opt/README')
-rw-r--r--python/python3-setuptools-scm-opt/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/python/python3-setuptools-scm-opt/README b/python/python3-setuptools-scm-opt/README
new file mode 100644
index 0000000000..73881e3706
--- /dev/null
+++ b/python/python3-setuptools-scm-opt/README
@@ -0,0 +1,16 @@
+python3-setuptools-scm-opt (setuptools-scm installed to /opt)
+
+setuptools_scm extracts Python package versions from git or hg
+metadata instead of declaring them as the version argument or in a SCM
+managed file.
+
+# Build your package with this version to fix errors like the following:
+ImportError: cannot import name '__version__' from ...
+
+NOTE:
+Installs to /opt/python3.9/site-packages
+
+Add the following before the python3 build commands in your
+Slackbuild to use this version over the stock one in 15.0:
+
+export PYTHONPATH=/opt/python3.9/site-packages/