Skip to content

Commit e90c2cc

Browse files
author
Sylvain MARIE
committed
Fixed setuptools_scm issue when writing _version.py: folder name != dist name
1 parent 7694c87 commit e90c2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
dependency_links=DEPENDENCY_LINKS,
116116

117117
# we're using git
118-
use_scm_version={'write_to': '%s/_version.py' % DISTNAME}, # this provides the version + adds the date if local non-commited changes.
118+
use_scm_version={'write_to': 'pytest_cases/_version.py'}, # this provides the version + adds the date if local non-commited changes.
119119
# use_scm_version={'local_scheme':'dirty-tag'}, # this provides the version + adds '+dirty' if local non-commited changes.
120120
setup_requires=SETUP_REQUIRES,
121121

0 commit comments

Comments
 (0)