Skip to content

Commit

Permalink
Don't write to _version.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Nov 17, 2020
1 parent ab675d0 commit a062a0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ MANIFEST
.pytest_cache/
.ipynb_checkpoints/
.vscode/
_version.py
result_images/
tmp-test-dir-with-unique-name/
coverage.xml
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@
INSTALL_REQUIRES = ["numpy", "pandas", "xarray", "netCDF4", "packaging"]
# Configuration for setuptools-scm
SETUP_REQUIRES = ["setuptools_scm"]
USE_SCM_VERSION = {
"local_scheme": "node-and-date",
"write_to": "_version.py",
"write_to_template": '__version__ = "{version}"\n',
}
USE_SCM_VERSION = {"local_scheme": "node-and-date"}

if __name__ == "__main__":
setup(
Expand Down

0 comments on commit a062a0c

Please sign in to comment.