cedadev / cis

Home of the Community Intercomparison Suite.
www.cistools.net
GNU Lesser General Public License v3.0
46 stars 18 forks source link

setup.py decode utf-8 #16

Closed bjlittle closed 5 years ago

bjlittle commented 6 years ago

@duncanwp This fix resolves the following issue that I was encountering whilst trying to build cis for python 3.6:

    README = open(os.path.join(root_path, 'README.md')).read()
  File "/home/conda_builder/conda-bld/cis_1525100351208/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1321: ordinal not in range(128)
bjlittle commented 6 years ago

@duncanwp Not quite sure what's going on in your python 2.7 environment for travis-ci... was that already an issue, or have I introduced that?

bjlittle commented 6 years ago

@duncanwp I think that this is all working now... however, we're being hit by the netcdftime to cftime issues within cf_units ... :cry:

duncanwp commented 5 years ago

Thanks @bjlittle !