summaryrefslogtreecommitdiff
path: root/src/setuptools_scm/hacks.py
Commit message (Collapse)AuthorAgeFilesLines
* rename .hacks to .fallbacks and drop support for pip-egg-infoRonny Pfannschmidt2023-03-291-52/+0
|
* refactor: split tracing and command running into own modulesRonny Pfannschmidt2023-03-111-1/+1
|
* pre-commit updatesRonny Pfannschmidt2023-02-121-1/+0
|
* private configruation moduleRonny Pfannschmidt2023-01-311-1/+1
|
* remove the legacy version parser apiRonny Pfannschmidt2023-01-181-6/+2
| | | | config is no longer optional
* minimize bootstrap - fixes #722 and #723Ronny Pfannschmidt2022-06-221-1/+3
| | | | | | enable self-bootstrap without typing_extensions and importlib_metadata they are still install requirements however
* Bump minimal python to 3.7Ronny Pfannschmidt2022-05-291-6/+7
|
* complete mypy transformationRonny Pfannschmidt2022-05-291-7/+20
|
* numerous type fixes and initial guess no dev handlingRonny Pfannschmidt2022-01-131-0/+1
|
* apply reorder-python-importsRonny Pfannschmidt2021-08-071-2/+5
|
* closes #312 - document interaction with enterprise distrosfix-312-document-enterprise-distrosRonny Pfannschmidt2020-05-021-1/+2
|
* Allow getting the version from the parent directory suffix.Antony Lee2020-05-011-1/+8
| | | | | | | | | | | | | | | | | | Add a `parentdir_prefix_version` config parameter which allows lets setuptools_scm get a version string from the name of the parent directory: if `parentdir_prefix_version = "foo-"` and the parent directory is named `foo-v12.34`, then the version is 12.34. This is only active if the parameter is set (it defaults to unset, i.e. the feature is opt-in), if getting the version from the SCM failed, *and* there's no metadata already present. However, this has higher priority than `fallback_version` (which remains the last-resort fallback). This feature is intended to support the tarballs that GitHub automatically creates for all releases, which have no metadata but follow the correct naming scheme for the feature to work. This feature is directly inspired from versioneer's `parentdir_prefix` setting.
* Allow setting a fallback version in case everything else fails.Antony Lee2019-03-031-0/+5
|
* pass trough config everywhereRonny Pfannschmidt2018-08-081-4/+4
|
* add missing config arg to hacks hooksRonny Pfannschmidt2018-08-081-2/+2
|
* switch to src/ layoutRonny Pfannschmidt2018-05-191-0/+24
this also sorts out #262