import os
from setuptools import setup

try:
    version = os.environ['SIAC_VERSION']
except:
    version = '2.1.2'

with open('README.md', 'rb') as f:
    readme = f.read().decode()

setup(name                          = 'SIAC',
      version                       = version,
      description                   = 'A sensor invariant Atmospheric Correction (SIAC)',
      long_description              = readme,
      long_description_content_type ='text/markdown',
      author                       = 'Feng Yin',
      author_email                 = 'ucfafyi@ucl.ac.uk',
      classifiers                  = ['Development Status :: 4 - Beta',
                                      'Programming Language :: Python :: 2.7',
                                      'Programming Language :: Python :: 3.6'],
      install_requires             = ['gdal>=2.1', 'numpy>=1.13', 'scipy>=1.0', 'psutil','six',
                                      'lightgbm>=2.1.0','requests', 'scikit-learn', 'scikit-image', 'gp_emulator'],
      url                          = 'https://github.com/MarcYin/SIAC',
      license                      = "GNU Affero General Public License v3.0",
      include_package_data         = True,
      packages                     = ['SIAC'],
     )
