arporter / habakkuk

Fortran code analysis for performance prediction
11 stars 0 forks source link

Re-structure for PyPi #7

Closed arporter closed 7 years ago

arporter commented 8 years ago

Repository needs re-structuring if it is to work with pypi and (cleanly) with travis.

I'll try to follow the suggestions here:

https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/

arporter commented 8 years ago

Working in branch pypi_restructure for this issue.

arporter commented 8 years ago

I think I'm mostly there with this now. However, need to prevent code from picking-up system-installed version of f2py rather than the patched version that ships with habakkuk.

arporter commented 8 years ago

Moved fparser out of f2py and into src/habakkuk. Can then ensure I get the correct version by specifying habakkuk.fparser when doing imports. I'm currently quite confused about Python's support for absolute and relative module imports. All tests pass on my desktop but 1 parser test (for Entry) fails in my VM.

arporter commented 8 years ago

Checked 'unmodified' f2py by installing the version that we distribute with PSyclone. It has two test failures on my VM (one being the one that also fails in Habakkuk). So, the test failure is not my fault :-)

arporter commented 7 years ago

Branch merged to master. All done.