SlackBuilds Repository

15.0 > Python > python3-setuptools-scm-opt (8.0.2)

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/python$PYVER/site-packages

Add the following before the python3 build commands in your
Slackbuild to use this version over the stock one in 15.0:

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

This requires: typing-extensions, python-importlib_metadata, python3-rich

Maintained by: fourtysixandtwo
Keywords: python,setuptools,scm,opt
ChangeLog: python3-setuptools-scm-opt

Homepage:
https://github.com/pypa/setuptools-scm

Source Downloads:
setuptools-scm-8.0.2.tar.gz (036efc8cbff77f9ba420225c4807e938)

Download SlackBuild:
python3-setuptools-scm-opt.tar.gz
python3-setuptools-scm-opt.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds