setup.py 1.87 KB
Newer Older
1 2 3 4 5 6 7
"""Toolbox for control and optimization of water systems.

RTC-Tools is the Deltares toolbox for control and optimization of water systems.

"""
from setuptools import setup, find_packages
import versioneer
8 9
import sys

10 11
if sys.version_info < (3, 5):
    sys.exit("Sorry, Python 3.5 or newer is required.")
12

13 14 15 16 17 18
DOCLINES = __doc__.split("\n")

CLASSIFIERS = """\
Development Status :: 4 - Beta
Intended Audience :: Science/Research
Intended Audience :: Information Technology
19
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
20 21 22 23 24 25 26 27 28 29 30
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Scientific/Engineering :: GIS
Topic :: Scientific/Engineering :: Mathematics
Topic :: Scientific/Engineering :: Physics
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""

31
setup(
32
    name = 'rtc-tools',
33 34
    version = versioneer.get_version(),
    maintainer = 'Jorn Baayen',
35
    author = 'Jorn Baayen',
36 37
    description = DOCLINES[0],
    long_description = '\n'.join(DOCLINES[2:]),
38
    url = 'http://www.deltares.nl/en/software/rtc-tools/',
39 40 41
    download_url='http://gitlab.com/deltares/rtc-tools/',
    classifiers = [_f for _f in CLASSIFIERS.split('\n') if _f],
    platforms = ['Windows', 'Linux', 'Mac OS-X', 'Unix'],
42 43
    packages = find_packages("src"),
    package_dir = {"": "src"},
44
    install_requires = ["casadi == 3.4.*",
Tjerk Vreeken's avatar
Tjerk Vreeken committed
45 46
                        "numpy >= 1.14.0",
                        "scipy >= 1.0.0",
47
                        "pymoca == 0.3.*"],
48 49
    tests_require = ['nose'],
    test_suite = 'nose.collector',
50
    python_requires='>=3.5',
51
    cmdclass = versioneer.get_cmdclass(),
52 53 54 55 56 57
    entry_points={
        'console_scripts': [
            'rtc-tools-download-examples = rtctools.rtctoolsapp:download_examples',
            'rtc-tools-copy-libraries = rtctools.rtctoolsapp:copy_libraries',
        ]
    },
58
)