Closed tammojan closed 4 years ago
Hello @tammojan! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
setup.py
:Line 124:9: E722 do not use bare 'except' Line 243:1: E303 too many blank lines (3) Line 246:43: E271 multiple spaces after keyword Line 246:80: E501 line too long (113 > 79 characters) Line 247:80: E501 line too long (105 > 79 characters)
I added an error to setup.py
to raise an Exception when casacore is detected and the version can be extracted, but it is too old. The result is here:
RuntimeError: Your casacore version is too old. Minimum is 3.1.1, you have 2.5.0
Rebased on master. I made an extension to build_ext
that will crash if casacore is too old. This should make sure that setup.py can still be run to do e.g. setup.py clean
. This is tested in one of the travis jobs.
hey! nog niet gereviewd :)
Oops...
maar ziet er goed uit, mooi zerk. volgens mij zou dit wel moeten werken. laten we zien wat er gebeurt tijdens packagen.
The travis tests using KERN all fail on a unicode error. Probably this was fixed in casacore 3.1.1, which has unicode improvements. I'll bump to KERN5 to see if it helps, but KERN5 has casacore ~2.5.0~ 3.0.0, so probably not.