setup.py 1.37 KB
Newer Older
1
2
"""Setup for the kis_tools package."""
from glob import glob
3
from os.path import join
4
5

import setuptools
6

Carl Schaffer's avatar
Carl Schaffer committed
7
from kis_tools.util.gitinfo import get_git_info
8

Carl Schaffer's avatar
Carl Schaffer committed
9
with open("README.md") as f:
10
    README = f.read()
11
12
info = get_git_info(force=True)

Carl Schaffer's avatar
Carl Schaffer committed
13
version = "3.1.0"
14

15
16
17
setuptools.setup(
    author="Carl Schaffer",
    author_email="schaffer@leibniz-kis.de",
Carl Schaffer's avatar
Carl Schaffer committed
18
    name="kis_tools",
19
    license="MIT",
Carl Schaffer's avatar
Carl Schaffer committed
20
    description="Tools for interacting with data produced at KIS",
Carl Schaffer's avatar
Carl Schaffer committed
21
    version=version,
22
    long_description=README,
Carl Schaffer's avatar
Carl Schaffer committed
23
    url="https://gitlab.leibniz-kis.de/sdc/kis_tools",
24
    packages=setuptools.find_packages(),
Carl Schaffer's avatar
Carl Schaffer committed
25
    include_package_data=True,
26
27
    python_requires=">=3.6",
    install_requires=[
Carl Schaffer's avatar
Carl Schaffer committed
28
        "kis_headers @ git+https://gitlab.leibniz-kis.de/sdc/kis_headers.git#egg=kis_headers",
29
30
        "pandas",
        "astropy",
31
        "pymongo>=3.0.0",
32
        "sunpy",
Carl Schaffer's avatar
Carl Schaffer committed
33
        "pillow",
Carl Schaffer's avatar
Carl Schaffer committed
34
        "pyyaml",
35
    ],
Carl Schaffer's avatar
Carl Schaffer committed
36
    scripts=glob("bin/*"),
37
38
39
    classifiers=[
        # Trove classifiers
        # (https://pypi.python.org/pypi?%3Aaction=list_classifiers)
Carl Schaffer's avatar
Carl Schaffer committed
40
41
42
43
44
45
46
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.6",
        "Topic :: Software Development :: Libraries",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Intended Audience :: Developers",
47
48
    ],
)