Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft deps in setup #123

Merged
merged 9 commits into from Jun 15, 2018
Merged

Soft deps in setup #123

merged 9 commits into from Jun 15, 2018

Conversation

corinnebosley
Copy link
Member

Popped a little function in the setup.py to look for iris 2.1 because that would be best, but if it's not available then it will install using iris 2.0 (or later).

Also added the eccodes dependency. gribapi lives in python-eccodes, but I guess the (official?) package name is actually just eccodes.

@coveralls
Copy link

coveralls commented Jun 14, 2018

Coverage Status

Coverage increased (+0.01%) to 85.746% when pulling 189faa7 on corinnebosley:soft_deps_in_setup into 4b17b58 on SciTools:master.

@corinnebosley
Copy link
Member Author

@pp-mo This is a really nice solution. Nice one.

@@ -43,6 +43,7 @@
ReferenceTarget
from iris.util import _is_circular

from . import _confirm_iris_mercator_support
Copy link
Member

@pp-mo pp-mo Jun 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this seems to be bugged.
I think it should really be from .. import ??
Always a bit confused by relative imports ! 😕

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it works though, but now it can't find grib_phenom_translation. Weird...

@pp-mo
Copy link
Member

pp-mo commented Jun 14, 2018

confused by relative imports

Yikes, I created a circular import problem !
corinnebosley#2 should fix it, I hope...

pp-mo and others added 2 commits June 15, 2018 00:46
@corinnebosley
Copy link
Member Author

@kaedonkers Ping!

@corinnebosley
Copy link
Member Author

@bjlittle Ping

@pp-mo
Copy link
Member

pp-mo commented Jun 15, 2018

@kaedonkers @bjlittle Ping!

Seconded -- can someone who is not me take a look please ?!?

@pp-mo pp-mo merged commit e0dd384 into SciTools:master Jun 15, 2018
@tv3141 tv3141 mentioned this pull request Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants