setup.py
author Sandro Knauß <knauss@netzguerilla.net>
Thu, 27 Sep 2012 14:13:06 +0200
branchdevel
changeset 295 dc3cc61c7f6f
parent 294 0e75bd39767d
child 301 d5ebbcccc41b
permissions -rw-r--r--
small fixes and use iro as dbname for testing.

# Copyright (c) 2012 netzguerilla.net <iro@netzguerilla.net>
# 
# This file is part of Iro.
# 
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
# #Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

# -*- coding: utf-8 -*-

from setuptools import setup
from iro import __version__

def refresh_plugin_cache():
        from twisted.plugin import IPlugin, getPlugins
        list(getPlugins(IPlugin))

setup(name='iro',
        version=__version__,
        packages=['iro','iro.controller','iro.view','iro.model','iro.offer','iro.tests', 'iro.test_helpers','twisted.plugins'],
        setup_requires = ["ngmodules>=0.2","mock"],
        install_requires=['twisted>=11.1.0',"ConfigParser","sqlalchemy","MySQL-python","SOAPpy",'decorator'],
        #test_suite="tests",                               #ToDo switch to trial
        description='Non Blocking Interface for sending a bunsh of SMSes, FAXes and Mails.',
        author='Sandro Knauß',
        author_email='knauss@netzguerilla.net',
        url='https://netzguerilla.net/iro',
        scripts=["bin/iro-install"],
        package_data={
            'twisted': ['plugins/iro_plugin.py'],
        },
        license = "MIT",
        classifiers=[
            "Development Status :: 3 - Alpha",
            "Environment :: No Input/Output (Daemon)",
            "Framework :: Twisted",
            "Topic :: Communications :: Fax",
            "Topic :: Communications :: Email",
            "Topic :: Communications :: Sms",
            "Programming Language :: Python",
            "License :: OSI Approved :: MIT License",
            ]
        )

refresh_plugin_cache()