setup.py
changeset 302 3f4bdea2abbf
parent 301 d5ebbcccc41b
--- a/setup.py	Wed Dec 21 22:07:48 2011 +0100
+++ b/setup.py	Thu Sep 27 17:15:46 2012 +0200
@@ -1,2 +1,59 @@
+# -*- coding: utf-8 -*-
+
+# 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.
+
+
 from setuptools import setup
-setup(name="iro",version='0.1',install_requires=["xmlrpclib","ConfigParser","base64","multiprocessing"])
+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', 'txJSON-RPC'],
+        #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()