python-setuptools-scm
Port variant py37
Summary Package to manage versions by scm tags (PY37)
Package version 4.1.2
Homepage https://github.com/pypa/setuptools_scm/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py38
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 01 JUN 2020, 12:32:25 UTC
Port created 20 APR 2020, 15:00:59 UTC
Subpackage Descriptions
single setuptools_scm =============== setuptools_scm handles managing your Python package versions in SCM metadata instead of declaring them as the version argument or in a SCM managed file. Additionally setuptools_scm provides setuptools with a list of files that are managed by the SCM (i.e. it automatically adds all of the SCM-managed files to the sdist). Unwanted files must be excluded by discarding them via ``MANIFEST.in``. ``pyproject.toml`` usage ------------------------ The preferred way to configure setuptools_scm is to author settings in a ``tool.setuptools_scm section of pyproject.toml``. This feature requires Setuptools 42 or later, released in Nov, 2019. If your project needs to support build from sdist on older versions of Setuptools, you will need to also implement the ``setup.py usage`` for those legacy environments. First, ensure that setuptools_scm is present during the project's built step by specifying it as one of the build requirements. .. code:: toml # pyproject.toml [build-system] requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] Note that the toml extra must be supplied. That will be sufficient to require setuptools_scm for projects that support PEP 518 ([pip] and [pep517]). Many tools, especially those that invoke ``setup.py`` for any reason, may continue to rely on setup_requires. For maximum compatibility with those uses, consider also including a setup_requires directive (described below in ``setup.py usage and setup.cfg``). To enable version inference, add this section to your pyproject.toml: .. code:: toml # pyproject.toml [tool.setuptools_scm] Including this section is comparable to supplying ``use_scm_version=True in setup.py``. Additionally, include arbitrary keyword arguments in that section to be supplied to ``get_version()``. For example: .. code:: toml # pyproject.toml [tool.setuptools_scm] write_to = "pkg/version.py" ``setup.py`` usage ------------------ The following settings are considered legacy behavior and superseded by the ``pyproject.toml`` usage, but for maximal compatibility, projects may also supply the configuration in this older form. To use setuptools_scm just modify your project's ``setup.py`` file like this: * Add setuptools_scm to the setup_requires parameter. * Add the use_scm_version parameter and set it to True. For example: .. code:: python from setuptools import setup setup( ..., use_scm_version=True, setup_requires=['setuptools_scm'], ..., ) Arguments to ``get_version()`` (see below) may be passed as a dictionary to use_scm_version. For example: .. code:: python from setuptools import setup setup( ..., use_scm_version = { "root": "..", "relative_to": __file__, "local_scheme": "node-and-timestamp" },
Configuration Switches (platform-specific settings discarded)
PY37 ON Build using Python 3.7 PY38 OFF Build using Python 3.8
Package Dependencies by Type
Build and Runtime python37:single:standard
python-setuptools:single:py37
Download groups
main mirror://PYPI/s/setuptools-scm
Distribution File Information
a8994582e716ec690f33fec70cca0f85bd23ec974e3f783233e4879090a7faa8 48784 setuptools_scm-4.1.2.tar.gz
Ports that require python-setuptools-scm:py37
python-FormEncode:py37 HTML form validation and generation package (PY37)
python-acme-tiny:py37 Issue and renew Let's Encrypt TLS certs (PY37)
python-black:py37 Uncompromising code formatter (PY37)
python-booleanOperations:py37 Boolean operations on paths (PY37)
python-borgbackup:py37 Deduplicated, encrypted, compressed backups (PY37)
python-cu2qu:py37 Cubic-to-quadratic bezier curve conversion (PY37)
python-importlib-metadata:py37 Read metadata from Python packages (PY37)
python-jsonschema:py37 Alternate implementation of JSON Schema (PY37)
python-psautohint:py37 Wrapper for Adobe's PostScript autohinter (PY37)
python-pyclipper:py37 Cython wrapper for the AJ Clipper library (PY37)
python-pyocr:py37 Wrapper for OCR engines (Tesseract, etc) (PY37)
python-pytest-runner:py37 Scripts to add setup.py test support (PY37)
python-python-dateutil:py37 Extension to the standard datetime module (PY37)
python-setuptools-scm-git-archive:py37 Setuptools_scm plugin for git archives (PY37)
python-skia-pathops:py37 Skia library bindings (PY37)
python-tqdm:py37 Fast, Extensible Progress Meter (PY37)
python-ufo2ft:py37 Bridge between UFOs and FontTools (PY37)
python-ufoLib2:py37 UfoLib2 is a UFO font processing library (PY37)
python-vdirsyncer:py37 Synchronize calendars and contacts (PY37)
python-virtualenv:py37 Virtual Python Environment builder (PY37)
python-zipp:py37 Backport of pathlib wrapper for zip files (PY37)