setup.py 1.25 KB
Newer Older
1
2
3
4
"""Setup for the kis_tools package."""
from glob import glob

import setuptools
5

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

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

12
version = "3.5.4"
Carl Schaffer's avatar
Carl Schaffer committed
13
14
15
with open('requirements.txt', 'r') as req_file:
    requirements = [line.strip() for line in req_file]

16

17
18
19
setuptools.setup(
    author="Carl Schaffer",
    author_email="schaffer@leibniz-kis.de",
Carl Schaffer's avatar
Carl Schaffer committed
20
    name="kis_tools",
21
    license="MIT",
Carl Schaffer's avatar
Carl Schaffer committed
22
    description="Tools for interacting with data produced at KIS",
Carl Schaffer's avatar
Carl Schaffer committed
23
    version=version,
24
    long_description=README,
Carl Schaffer's avatar
Carl Schaffer committed
25
    url="https://gitlab.leibniz-kis.de/sdc/kis_tools",
26
    packages=setuptools.find_packages(),
Carl Schaffer's avatar
Carl Schaffer committed
27
    include_package_data=True,
28
    python_requires=">=3.6",
Carl Schaffer's avatar
Carl Schaffer committed
29
    scripts=glob("bin/*"),
Carl Schaffer's avatar
Carl Schaffer committed
30
    install_requires=requirements,
31
32
33
    classifiers=[
        # Trove classifiers
        # (https://pypi.python.org/pypi?%3Aaction=list_classifiers)
Carl Schaffer's avatar
Carl Schaffer committed
34
35
36
37
38
39
40
        "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",
41
42
    ],
)