from setuptools import setup, find_packages

setup(
    name='projections',
    version='0.1',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
      'Click',
      'gdal',
      'fiona',
      'geopy',
      'joblib',
      'matplotlib',
      'netCDF4',
      'numba',
      'numpy',
      'pandas',
      'pylru',
      'pyparsing',
      'rasterio',
      'rpy2',
      'setuptools',
      'shapely',
      'xlrd',
    ],
    entry_points='''
        [console_scripts]
        extract_values=projections.scripts.extract_values:main
        gen_hyde=projections.scripts.gen_hyde:main
        gen_sps=projections.scripts.gen_sps:main
	hyde2nc=projections.scripts.hyde2nc:main
        nc_dump=projections.scripts.nc_dump:main
        nctomp4=projections.scripts.nctomp4:main
        project=projections.scripts.project:cli
        r2py=projections.scripts.r2py:main
        rview=projections.scripts.rview:main
        tifftomp4=projections.scripts.tifftomp4:main
        tiffcmp=projections.scripts.tiffcmp:main
    ''',
    build_ext='''
        include_dirs=/usr/local/include
    '''
)

from setuptools import setup, find_packages

setup(
    name='projections',
    version='0.1',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
      'Click',
      'gdal',
      'fiona',
      'geopy',
      'joblib',
      'matplotlib',
      'netCDF4',
      'numba',
      'numpy',
      'pandas',
      'pylru',
      'pyparsing',
      'rasterio==0.36.0',
      'rpy2',
      'setuptools',
      'shapely',
      'xlrd',
    ],
    entry_points='''
        [console_scripts]
        extract_values=projections.scripts.extract_values:main
        gen_hyde=projections.scripts.gen_hyde:main
        gen_sps=projections.scripts.gen_sps:main
	hyde2nc=projections.scripts.hyde2nc:main
        nc_dump=projections.scripts.nc_dump:main
        nctomp4=projections.scripts.nctomp4:main
        project=projections.scripts.project:cli
        r2py=projections.scripts.r2py:main
        rview=projections.scripts.rview:main
        tifftomp4=projections.scripts.tifftomp4:main
        tiffcmp=projections.scripts.tiffcmp:main
    ''',
    build_ext='''
        include_dirs=/usr/local/include
    '''
)

Fix rasterio to version 0.36.0 now that 1.0 is out
Fix rasterio to version 0.36.0 now that 1.0 is out

There are some incompatibilities between the two.  Until I can go to NHM
to upgrade their setup, I'll pin it to the old version.
