We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137dc73 commit 7b7293bCopy full SHA for 7b7293b
setup.py
@@ -195,7 +195,7 @@ def get_version():
195
except Exception:
196
print("INFO: Didn't find sha. Is this a git repo?")
197
198
- with open(_ROOT_DIR / "src/torchcodec/version.py") as f:
+ with open(_ROOT_DIR / "src/torchcodec/version.py", "w") as f:
199
f.write(f"__version__ = '{version}'\n")
200
201
return version
0 commit comments