Skip to content

Commit

Permalink
Merge pull request #497 from jokva/point-setuptools-scm-to-file
Browse files Browse the repository at this point in the history
Point setuptools to file
  • Loading branch information
jokva authored Dec 13, 2020
2 parents 9738133 + 8ddc013 commit 5100107
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def getversion():
if not 'SEGYIO_NO_GIT_VER' in os.environ and os.path.isdir(src('../.git')):
return {
'use_scm_version': {
'relative_to' : src(''),
'root': '..',
'relative_to' : __file__,
# write to ./python
'write_to' : os.path.join(src(''), versionfile),
}
Expand Down

0 comments on commit 5100107

Please sign in to comment.