Skip to content

Commit 5100107

Browse files
authored
Merge pull request #497 from jokva/point-setuptools-scm-to-file
Point setuptools to file
2 parents 9738133 + 8ddc013 commit 5100107

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def getversion():
6565
if not 'SEGYIO_NO_GIT_VER' in os.environ and os.path.isdir(src('../.git')):
6666
return {
6767
'use_scm_version': {
68-
'relative_to' : src(''),
68+
'root': '..',
69+
'relative_to' : __file__,
6970
# write to ./python
7071
'write_to' : os.path.join(src(''), versionfile),
7172
}

0 commit comments

Comments
 (0)