Closed robertodr closed 6 years ago
I cannot understand why Travis is being so difficult and doens't pick up Python from the virtual environment...
Do you want me to look at the venv part?
Fixed! I was mucking up the PATH
in .travis.yml
. As usual, the simpler the better!
Simplicity is king.
Merging #72 into master will increase coverage by
1.96%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #72 +/- ##
==========================================
+ Coverage 42.29% 44.25% +1.96%
==========================================
Files 78 78
Lines 1785 1785
==========================================
+ Hits 755 790 +35
+ Misses 1030 995 -35
Impacted Files | Coverage Δ | |
---|---|---|
src/densvars.hpp | 35.55% <0%> (+3.88%) |
:arrow_up: |
src/xcfun.cpp | 49.47% <0%> (+7.4%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update cd72865...ac2c9da. Read the comment docs.
Thanks for all the work. Will look at this tomorrow.
@chjacob-tubs can you give a try to the current version? Travis Mac OS X errors, but I think it's a different issue.
Perfect! Thanks for all the work!
Ready to go when Travis passes. Thanks for the help troubleshooting.
About the import: I think the code is now better than before so also thumbs up from me for the PR. In the longer term: I think SWIG is an implementation detail and likely to change and the fact that PyADF needs to know about it is not ideal. But this is nothing that needs to put brakes on this PR.
Description
Picks up from the work of @chjacob-tubs on the SWIG bindings. Initially, I only wanted to get it to work with the shared library, but the changes ended up restoring the Python tests with little additional work. Fixes #68 and #72.
Todos
LD_LIBRARY_PATH
.lib64/python/xcfun
(be it under the build or install tree)__init__.py
Types of changes
Questions
xcfun_swig.py
toxcfun.py
to get everything to work. I don't know if that's supposed to work like that.Status