We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ddb029 commit 2b01442Copy full SHA for 2b01442
version.py
@@ -6,7 +6,7 @@ def get_version(verbose=False):
6
"""Extract version information from source code"""
7
8
root_dir = os.getcwd() # root of the repository
9
- inc_dir = root_dir + os.sep + "include" # C++ include directory
+ inc_dir = os.path.join(root_dir, "include", "ql") # C++ include directory
10
matcher = re.compile('[\t ]*#define[\t ]+OPENQL_VERSION_STRING[\t ]+"(.*)"')
11
version = None
12
with open(os.path.join(inc_dir, "version.h"), "r") as f:
0 commit comments