setup.py 1.77 KB
Newer Older
Klaus Zimmermann's avatar
Klaus Zimmermann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import setuptools
import versioneer


with open('README.md', 'r') as fh:
    long_description = fh.read()


setuptools.setup(
    name='climix',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    author='Lars Bärring, Klaus Zimmermann',
    author_email='lars.barring@smhi.se, klaus.zimmermann@smhi.se',
    description='A climate index package',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://git.smhi.se/climix/climix',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Financial and Insurance Industry',
        'Intended Audience :: Science/Research',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: GIS',
    ],
    packages=setuptools.find_packages(exclude=['data', 'legacy']),
    python_requires='>=3',
    install_requires=[
        'cf-units',
        'dask',
        'dask-jobqueue',
        'distributed',
        'scitools-iris',
        'numpy',
        'PyYAML',
    ],
43
44
45
    extras_require={
        'editor': ['pyexcel', 'pyexcel-odsr', 'jinja2']
    },
Klaus Zimmermann's avatar
Klaus Zimmermann committed
46
47
48
    entry_points={
        'console_scripts': [
            'climix=climix:main',
49
            'climix-editor=climix.editor:main [editor]',
Klaus Zimmermann's avatar
Klaus Zimmermann committed
50
        ],
51
        'climix.index_functions': [
52
            'count_occurrences=climix.index_functions:CountOccurences',
53
54
            'spell_length=climix.index_functions:SpellLength',
        ],
Klaus Zimmermann's avatar
Klaus Zimmermann committed
55
56
57
58
59
60
    },
    project_urls={
        'Bug Reports': 'https://git.smhi.se/climix/climix/issues',
        'Source': 'https://git.smhi.se/climix/climix',
    },
)