"vscode:/vscode.git/clone" did not exist on "6cf0be5d3d935b98d5a0948cd269e6c59bb7cf0a"
[Enhancement] Refactor version retrieval logic in tilelang package (#1227)
* Introduced a new function, _compute_version, to determine the package version with a clear preference order, enhancing version management.
* The function checks for a VERSION file in the source checkout, falls back to importlib.metadata for installed distributions, and defaults to a development version if all else fails.
* Updated the __version__ variable assignment to utilize the new function, improving clarity and maintainability of version handling.
Co-authored-by:
Zhiwen Mo <zm125@ic.ac.uk>
Showing
Please register or sign in to comment