Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #414 +/- ##
========================================
Coverage 90.10% 90.10%
========================================
Files 121 121
Lines 7905 7905
Branches 679 679
========================================
Hits 7123 7123
Misses 651 651
Partials 131 131 ☔ View full report in Codecov by Sentry. |
| fdb_home = os.environ.get("FDB_HOME", None) | ||
| fdb_conf = os.environ.get("FDB5_CONFIG", None) | ||
| if fdb_home is None and fdb_conf is None: | ||
| fdb5_home = os.environ.get("FDB5_HOME", None) |
There was a problem hiding this comment.
FDB5_DIR can also be used to locate the library
|
Hi @cosunae, thank you for this PR. I agree with you that the checking for FDB support should be more consistent. However, please consider these points:
|
|
Thanks @sandorkertesz
|
The new check seems to be fine now! However, internally we do use FDB_HOME, so I suggest you add it back and check its existence together with the other 3. Then this PR can be merged. |
This PR tries to solve two issues:
it would be better if all python ecosystem using FDB would require the same variable, therefore I propose here to use FDB5_HOME to be compatible with pyfdb.