setup.py 1.86 KB
Newer Older
1 2 3
#!/usr/bin/env python
# -*- coding: utf-8 -*-

4

5
from setuptools import setup, find_packages, findall
6

Gero Müller's avatar
Gero Müller committed
7
# http://stackoverflow.com/a/24517154
8 9
metadata = {}
execfile("vispa/version.py", metadata)
Gero Müller's avatar
Gero Müller committed
10

11 12
setup(
    name="vispa",
13
    version=metadata['__version__'],
14 15 16 17 18
    description="VISPA - Integrated Development Environment for Physicists",
    author="VISPA Project",
    author_email="vispa@lists.rwth-aachen.de",
    url="http://vispa.physik.rwth-aachen.de/",
    license="GNU GPL v2",
19 20 21 22 23 24 25 26 27 28 29
    packages=find_packages(),
    package_data={
        "vispa": [
            path.split("/", 1)[-1]
            for path in findall("vispa")
            if "/static/" in path
            or "/templates/" in path
            or "/models/alembic/versions/" in path
        ]
    },
    scripts=findall("bin"),
30 31 32
    install_requires=[
        "sqlalchemy >= 0.9.0",
        "mako",
33
        "cherrypy >= 10.1",
34
        "paramiko",
35
        "rpyc >= 4",
36 37 38 39 40
        "alembic >= 0.7.3",  # for Operations.batch_alter_table
        "passlib",
        "ws4py",
        "ldap3"
    ],
41
    extras_require={"doc": ["sphinx", "sphinx-bootstrap-theme"]},
Gero Müller's avatar
Gero Müller committed
42
    classifiers=[
Gero Müller's avatar
Gero Müller committed
43
        "Development Status :: 5 - Production/Stable",
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
        "Environment :: Web Environment",
        "Framework :: CherryPy",
        "Intended Audience :: Developers",
        "Intended Audience :: Education",
        "Intended Audience :: Information Technology",
        "Intended Audience :: Science/Research",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
        "Natural Language :: English",
        "Operating System :: MacOS",
        "Operating System :: POSIX",
        "Programming Language :: JavaScript",
        "Programming Language :: Python",
        "Topic :: Internet",
        "Topic :: Scientific/Engineering",
        "Topic :: Software Development",
Gero Müller's avatar
Gero Müller committed
60
    ]
61
)