Skip to content

Commit

Permalink
Is it a path problem?
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell authored Dec 7, 2023
1 parent 53aa295 commit 2765e37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
subprocess.check_call(['make', '-C', '..', 'install'])

# Parse version file to extract __version__ value
bifrost_version_file = 'bifrost/version/__init__.py'
bifrost_version_file = os.path.join(os.path.dirname(__file__), 'bifrost/version/__init__.py')
try:
with open(bifrost_version_file, 'r') as version_file:
for line in version_file:
Expand All @@ -66,8 +66,6 @@
print("generate", bifrost_version_file)
print("*************************************************************************")
raise
print(f"Version is {__version__}")
raise RuntimeError(f"Version is {__version__}")

# Build the PyPy3 compatibility module, if needed
modules = []
Expand Down

0 comments on commit 2765e37

Please sign in to comment.