Skip to content

Commit 437d972

Browse files
authored
Merge pull request #1171 from effigies/mnt/setuptools_scm
MNT: Replace versioneer with setuptools_scm
2 parents 9000943 + cf564cf commit 437d972

12 files changed

+59
-2937
lines changed

setup.cfg renamed to .flake8

-8
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,3 @@ exclude =
77
nibabel/externals/*
88
per-file-ignores =
99
*/__init__.py: F401
10-
11-
[versioneer]
12-
VCS = git
13-
style = pep440
14-
versionfile_source = nibabel/_version.py
15-
versionfile_build = nibabel/_version.py
16-
tag_prefix =
17-
parentdir_prefix =

.git_archival.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:match=[0-9]*)$
4+
ref-names: $Format:%D$

.gitattributes

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
nibabel/_version.py export-subst
1+
.git_archival.txt export-subst
2+
nibabel/pkg_info.py export-subst

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ venv/
8888
.buildbot.patch
8989
.vscode
9090
for_testing/
91+
92+
# Generated by setuptools_scm #
93+
###############################
94+
_version.py

MANIFEST.in

-7
This file was deleted.

0 commit comments

Comments
 (0)