setup.py 1.14 KB
Newer Older
#!/usr/bin/env python
# coding=utf-8
"""
Installation script for EarthDiagnostics package
"""

from os import path
from setuptools import setup
from setuptools import find_packages

here = path.abspath(path.dirname(__file__))

# Get the version number from the relevant file
with open(path.join(here, 'VERSION')) as f:
    version = f.read().strip()

setup(
    name='earthdiagnostics',
    license='GNU GPL v3',
    platforms=['GNU/Linux Debian'],
    version=version,
    description='EarthDiagnostics',
    author='BSC-CNS Earth Sciences Department',
    author_email='javier.vegas@bsc.es',
    url='http://www.bsc.es/projects/earthscience/autosubmit/',
    keywords=['climate', 'weather', 'diagnostic'],
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed
    install_requires=['numpy', 'netCDF4', 'autosubmit', 'cdo', 'pygrib', 'nco', 'cfunits>=1.1.4', 'coverage', 'pyproj'],
    packages=find_packages(),
    include_package_data=True,
    package_data={'earthdiagnostics': [
        'earthdiagnostics/conversions.csv',
        'earthdiagnostics/cmor_table.csv',
        'earthdiagnostics/diags.conf',
        'cdftoolspython.so'
        'README',
        'VERSION',
        'EarthDiagnostics.pdf'
    ]
    },
)