Skip to content

Commit a31a016

Browse files
committed
Remove setuptools_scm_git_archive dependency
1 parent 5b5cc0e commit a31a016

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.git_archival.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:tags=true)$
14
ref-names: $Format:%D$

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ def make_release_tree(self, base_dir, files):
302302
setup_requires=[
303303
"certifi>=2020.06.20",
304304
"numpy>=1.19",
305-
"setuptools_scm>=4",
306-
"setuptools_scm_git_archive",
305+
"setuptools_scm>=7",
307306
],
308307
install_requires=[
309308
"contourpy>=1.0.1",
@@ -317,7 +316,7 @@ def make_release_tree(self, base_dir, files):
317316
"python-dateutil>=2.7",
318317
] + (
319318
# Installing from a git checkout that is not producing a wheel.
320-
["setuptools_scm>=4"] if (
319+
["setuptools_scm>=7"] if (
321320
Path(__file__).with_name(".git").exists() and
322321
os.environ.get("CIBUILDWHEEL", "0") != "1"
323322
) else []

0 commit comments

Comments
 (0)