Skip to content

Commit f22252f

Browse files
committed
use setuptools_scm
1 parent e504b4f commit f22252f

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
1012
- name: Set up Python 3.7
1113
uses: actions/setup-python@v2
1214
with:

.github/workflows/tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
python-version: ['3.7', '3.8', '3.9', '3.10']
1212
steps:
1313
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
1416
- uses: actions/setup-python@v2
1517
with:
1618
python-version: ${{ matrix.python-version }}

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[build-system]
2-
requires = ["setuptools>=48", "wheel"]
2+
requires = ["setuptools>=48", "setuptools_scm[toml]>=6.3.1"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.setuptools_scm]
6+
57
[tool.black]
68
line-length = 79
79
include = '\.pyi?$'

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[metadata]
22
description = SCM wrapper and fsspec filesystem for Git for use in DVC
33
name = scmrepo
4-
version = 0.0.22
54
long_description = file: README.md
65
long_description_content_type = text/markdown
76
license = Apache License 2.0

0 commit comments

Comments
 (0)