Skip to content

Commit 4ae3bf4

Browse files
committed
[shortfin] Add separate version_info.json
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.
1 parent a3feedc commit 4ae3bf4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

shortfin/.gitignore

-2
This file was deleted.

shortfin/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def copy_extensions_to_source(self, *args, **kwargs):
141141

142142

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

146146

147147
def load_version_info():

shortfin/version_info.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"package-version": "0.1.dev3"
3+
}

0 commit comments

Comments
 (0)