<filename>setup.py<gh_stars>1-10
#!/usr/bin/env python

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import pkg_resources


version = open('popdyn/VERSION', 'r').read().strip()


def is_installed(name):
    try:
        pkg_resources.get_distribution(name)
        return True
    except:
        return False


requires = ['cython', 'numpy==1.15', 'h5py==2.8.0', 'dask==1.2.2', 'llvmlite==0.31.0', 'numba==0.47', 'xlsxwriter==1.1.0', 'python-dateutil', 'toolz', 'scipy']

setup(name='popdyn',
      version=version,
      description='popdyn is a population dynamics simulator that fits nicely in the python ecosystem',
      url='https://bitbucket.org/alceslanduse/popdyn',
      author='<NAME>',
      install_requires=requires,
      author_email='<EMAIL>',
      license='Copyright, ALCES',
      packages=['popdyn'],
      zip_safe=False)
