diff options
author | Brandon Maier <brandon.maier@collins.com> | 2023-08-02 18:44:28 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2023-08-06 14:53:29 +1000 |
commit | cd3e2304f4a9c4f725dcc548082ccc6c89d078a4 (patch) | |
tree | 49320c5861ee881126289a71d20ebdfb1ebd5672 /dtc-lexer.l | |
parent | 0f5864567745c50e481b132538969b87259891e3 (diff) | |
download | dtc-cd3e2304f4a9c4f725dcc548082ccc6c89d078a4.zip dtc-cd3e2304f4a9c4f725dcc548082ccc6c89d078a4.tar.gz dtc-cd3e2304f4a9c4f725dcc548082ccc6c89d078a4.tar.bz2 |
pylibfdt: use fallback version in tarballs
When building pylibfdt from the released tarballs[1] setup.py will fail
with the following.
> LookupError: setuptools-scm was unable to detect version for dtc.
> Make sure you're either building from a fully intact git repository or
> PyPI tarballs. Most other sources (such as GitHub's tarballs, a git
> checkout without the .git folder) don't contain the necessary metadata
> and will not work.
seutptools_scm supports a 'fallback_version' that will use the provided
string as the version when the git repo is not available.
[1] https://www.kernel.org/pub/software/utils/dtc/dtc-1.7.0.tar.xz
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-lexer.l')
0 files changed, 0 insertions, 0 deletions