Skip to content

Commit 2d4a42c

Browse files
author
abergeron
authored
Merge pull request #519 from notoraptor/test-other-version-fix
Test another possible fix for versionning
2 parents 342016c + 5b177ce commit 2d4a42c

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

conda/pygpu/meta.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ build:
1313

1414
requirements:
1515
build:
16-
- m2-git [win]
17-
- m2-filesystem [win]
18-
- git [not win]
1916
- python
2017
- cython >=0.25
2118
- numpy 1.11

versioneer.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,15 +1046,10 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
10461046

10471047
# if there is a tag matching tag_prefix, this yields TAG-NUM-gHEX[-dirty]
10481048
# if there isn't one, this yields HEX[-dirty] (no NUM)
1049-
if sys.platform == 'win32':
1050-
describe_out, rc = run_command(GITS, ["describe", "--tags", "--dirty",
1051-
"--always", "--long"],
1052-
cwd=root)
1053-
else:
1054-
describe_out, rc = run_command(GITS, ["describe", "--tags", "--dirty",
1055-
"--always", "--long",
1056-
"--match", "%s*" % tag_prefix],
1057-
cwd=root)
1049+
describe_out, rc = run_command(GITS, ["describe", "--tags", "--dirty",
1050+
"--always", "--long",
1051+
"--match", "%s*" % tag_prefix],
1052+
cwd=root)
10581053
# --long was added in git-1.5.5
10591054
if describe_out is None:
10601055
raise NotThisMethod("'git describe' failed")

0 commit comments

Comments
 (0)