Skip to content

Commit

Permalink
[BLD] Use setuptools_scm version_file
Browse files Browse the repository at this point in the history
setuptools_scm 8.0.0 introduced `version_file` as a replacement
for `write_to` in setup.py schemes to specify the location of
the version file.
  • Loading branch information
mferrera committed Sep 21, 2023
1 parent b584a06 commit e129208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def src(anypath):
description="XTGeo is a Python library for 3D grids, surfaces, wells, etc",
use_scm_version={
"root": src(""),
"write_to": src("src/xtgeo/_theversion.py"),
"version_file": src("src/xtgeo/_theversion.py"),
},
long_description=README + "\n\n" + HISTORY,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit e129208

Please sign in to comment.