Port variant py27
Summary Setuptools_scm plugin for git archives (PY 27)
Package version 1.1
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py38 | py37
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 26 NOV 2019, 05:40:10 UTC
Port created 12 MAY 2019, 12:46:04 UTC
Subpackage Descriptions
single This is a `setuptools_scm `_ plugin that adds support for git archives (for example the ones GitHub automatically generates). Note that it only works for archives of tagged commits (because git currently lacks a format option equivalent to ``git describe --tags``). Usage ----- Add ``'setuptools_scm_git_archive'`` to the ``setup_requires`` parameter in your project's ```` file: .. code:: python setup( ..., use_scm_version=True, setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], ..., ) Create a ``.git_archival.txt`` file with the following content:: ref-names: $Format:%D$ Then add this line to the ``.gitattributes`` file:: .git_archival.txt export-subst Finally, don't forget to commit these two files.
Configuration Switches (platform-specific settings discarded)
PY27 ON Build using Python 2.7 PY37 OFF Build using Python 3.7 PY38 OFF Build using Python 3.8
Package Dependencies by Type
Build and Runtime python-setuptools_scm:single:py27
Download groups
main mirror://PYPI/s/setuptools_scm_git_archive
Distribution File Information
6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062 3050 setuptools_scm_git_archive-1.1.tar.gz
Ports that require python-setuptools_scm_git_archive:py27
No other ports depend on this one.