setuptools_scm_git_archive
setuptools_scm_git_archive copied to clipboard
setuptools_scm plugin for git archives
Use funs in python-setuptools_scm, for temporary compatibility.
`setuptools-scm` 8.0.4 and pytest fails with ```console + /usr/bin/pytest -ra -m 'not network' tests.py ============================= test session starts ============================== platform linux -- Python 3.8.18, pytest-7.4.4, pluggy-1.3.0 rootdir: /home/tkloczko/rpmbuild/BUILD/setuptools_scm_git_archive-1.4 collected 0...
Just normal build, install and test cycle used on building package from non-root account: - "setup.py build" - "setup.py install --root " - "pytest with PYTHONPATH pointing to setearch and...
When installing setuptool_scm_git_archive, setuptools_scm not gets installed. #### How to reproduce ``` python3 -m venv venv venv/bin/pip install setuptools_scm_git_archive venv/bin/python -c "import setuptools_scm_git_archive" # → No module named 'setuptools_scm' ```...
I added the required files to my git-repo as described: ``` # .git_archival.txt in repo ref-names: $Format:%D$ ``` Runing `git archive --format tgz -o /tmp/archive.tgz HEAD` results in ``` #...
To support debugging I suggest adding a simple `__main__.py` module: ```python import os from . import parse print(parse(os.curdir)) ```
Other similar tools put the export-subst directly into a Python file. Why should it be named `.git_archival.txt`? The reason should be documented somewhere easy for readers, or it would be...
I'm looking to build this for Fedora EPEL8, but a test is failing: ``` + cd setuptools_scm_git_archive-1.1 + pytest-3 tests.py ============================= test session starts ============================== platform linux -- Python 3.6.8,...
Hi. I'm trying to use the plugin for a project of mine. I followed the instructions, created the two hidden files, tagged and pushed to GitHub. When I download the...
I've been following the documentation about `.git_archival.txt` and `.gitattributes`: ``` $ git ls-files | grep git .git_archival.txt .gitattributes .gitignore $ more .git_archival.txt ref-names: $Format:%D$ $ more .gitattributes .git_archival.txt export-subst ```...