Skip to content

Commit

Permalink
[sharktank] Move version_info.json to subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
marbre committed Oct 28, 2024
1 parent ffb146b commit 192efc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sharktank/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

THIS_DIR = Path(__file__).resolve().parent
REPO_DIR = THIS_DIR.parent
VERSION_INFO_FILE = REPO_DIR / "version_info.json"


with open(
Expand All @@ -26,6 +25,10 @@
README = f.read()


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


def load_version_info():
with open(VERSION_INFO_FILE, "rt") as f:
return json.load(f)
Expand Down
File renamed without changes.

0 comments on commit 192efc5

Please sign in to comment.