Skip to content

Commit

Permalink
Fix version.h path in version.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Dec 18, 2023
1 parent 8ddb029 commit 2b01442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def get_version(verbose=False):
"""Extract version information from source code"""

root_dir = os.getcwd() # root of the repository
inc_dir = root_dir + os.sep + "include" # C++ include directory
inc_dir = os.path.join(root_dir, "include", "ql") # C++ include directory
matcher = re.compile('[\t ]*#define[\t ]+OPENQL_VERSION_STRING[\t ]+"(.*)"')
version = None
with open(os.path.join(inc_dir, "version.h"), "r") as f:
Expand Down

0 comments on commit 2b01442

Please sign in to comment.