setup.py 1.31 KB
Newer Older
1
import os
Steffen Vogel's avatar
Steffen Vogel committed
2
from setuptools import setup
3

4 5 6 7 8 9 10 11 12 13 14 15
def read(fname):
    dname = os.path.dirname(__file__)
    fname = os.path.join(dname, fname)

    try:
        import m2r
        return m2r.parse_from_file(fname)
    except ImportError:
        with open(fname) as f:
            return f.read()

setup(
Steffen Vogel's avatar
Steffen Vogel committed
16 17
    name = "villas-dataprocessing",
    version = "0.2.0",
18 19 20 21 22 23
    author = "Markus Mirz, Jan Dinkelbach, Steffen Vogel",
    author_email = "acs-software@eonerc.rwth-aachen.de",
    description = "Several tools for processing simulation results",
    license = "GPL-3.0",
    keywords = "simulation power system real-time data processing",
    url = "https://git.rwth-aachen.de/acs/public/simulation/data-processing",
Steffen Vogel's avatar
Steffen Vogel committed
24
    packages = [ "villas.dataprocessing" ],
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
    long_description = read('README.md'),
    classifiers = [
        "Development Status :: 4 - Beta",
        "Topic :: Scientific/Engineering",
        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python :: 3"
    ],
    install_requires = [
        "matplotlib",
        "numpy",
        "pandas"
    ],
    setup_requires = [
        'm2r',
        'wheel'
    ]
44 45
)