Skip to content

Commit

Permalink
[shortfin] Add separate version_info.json
Browse files Browse the repository at this point in the history
Also removes the no longer required .gitignore which prevents adding the
version_info file. Furthermore, fixes the path to the file which is not
present in the build directory.
  • Loading branch information
marbre committed Oct 28, 2024
1 parent a3feedc commit 4ae3bf4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions shortfin/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion shortfin/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def copy_extensions_to_source(self, *args, **kwargs):


# Setup and get version information.
VERSION_INFO_FILE = os.path.join(SOURCE_DIR, "version_info.json")
VERSION_INFO_FILE = os.path.join(SETUPPY_DIR, "version_info.json")


def load_version_info():
Expand Down
3 changes: 3 additions & 0 deletions shortfin/version_info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"package-version": "0.1.dev3"
}

0 comments on commit 4ae3bf4

Please sign in to comment.