dependencies were unified between setup.py and requirements.txt
list of packages were replaced by setuptools.find_packages function
rasterio was added to list of required dependencies
order of import was changed according to PEP 8 standard
CC:
@jbouffard I went through source code and it looks that rasterio isn't only package missing in requirements. I think we should add also GDAL, matplotlib, pyproj and colortools to list of requirements. ImportError's are raised inside some functions bodies which is not good idea especially when required libraries are not listed. What about taking all imports from functions to the beginning of modules?
This PR contains fix for issue #683.
Changes:
setup.py
andrequirements.txt
setuptools.find_packages
functionCC: @jbouffard I went through source code and it looks that
rasterio
isn't only package missing in requirements. I think we should add alsoGDAL
,matplotlib
,pyproj
andcolortools
to list of requirements.ImportError's
are raised inside some functions bodies which is not good idea especially when required libraries are not listed. What about taking all imports from functions to the beginning of modules?