ContinuumIO / elm

Phase I & part of Phase II of NASA SBIR - Parallel Machine Learning on Satellite Data
http://ensemble-learning-models.readthedocs.io
43 stars 27 forks source link

Add compatibility for Python 2.7 #168

Closed gbrener closed 7 years ago

gbrener commented 7 years ago

Add compatibility for Python 2.7 by adding future imports to each file, and six.string_types for isinstance(.., str) expressions. Also pin NumPy to be >=1.11 due to cartopy and datashader dependencies.

gbrener commented 7 years ago

This currently passes for Python 3.5 and Python 2.7. Fixing a conda-build issue should make it work with 3.6; just need a bit more time.

gbrener commented 7 years ago

The conda issue is non-obvious - it might be a bug in conda. I've reached out to the conda team for assistance. Until the issue is resolved, I'm marking the Python 3.6 build as "optional".