Skip to content
Snippets Groups Projects
Verified Commit ef00597d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Use fallback sources if Jpp is not loaded

parent a7f65383
No related branches found
No related tags found
1 merge request!6Add fallback Jpp sources
......@@ -21,7 +21,10 @@ class get_pybind_include(object):
def get_jpp_include():
return os.path.join(os.getenv("JPP_DIR", ""), "software")
jpp_dir = os.getenv("JPP_DIR")
if jpp_dir:
return os.path.join(jpp_dir, "software")
return "jpp"
ext_modules = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment