1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 |
2 |
3 from setuptools import setup |
3 from setuptools import setup |
4 from iro import __version__ |
4 from iro import __version__ |
5 |
5 |
|
6 def refresh_plugin_cache(): |
|
7 from twisted.plugin import IPlugin, getPlugins |
|
8 list(getPlugins(IPlugin)) |
|
9 |
6 setup(name='iro', |
10 setup(name='iro', |
7 version=__version__, |
11 version=__version__, |
8 packages=['iro','iro.controller','iro.view','iro.model','iro.offer','iro.tests', 'iro.test_helpers'], |
12 packages=['iro','iro.controller','iro.view','iro.model','iro.offer','iro.tests', 'iro.test_helpers','twisted.plugins'], |
9 setup_requires = ["ngmodules>=0.2","mock", 'setuptools_trial'], |
13 setup_requires = ["ngmodules>=0.2","mock"], |
10 install_requires=['twisted>=11.1.0',"ConfigParser","sqlalchemy","MySQL-python","SOAPpy",'decorator'], |
14 install_requires=['twisted>=11.1.0',"ConfigParser","sqlalchemy","MySQL-python","SOAPpy",'decorator'], |
11 #test_suite="tests", #ToDo switch to trial |
15 #test_suite="tests", #ToDo switch to trial |
12 description='Non Blocking Interface for sending a bunsh of SMSes, FAXes and Mails', |
16 description='Non Blocking Interface for sending a bunsh of SMSes, FAXes and Mails.', |
13 author='Sandro Knauß', |
17 author='Sandro Knauß', |
14 author_email='knauss@netzguerilla.net', |
18 author_email='knauss@netzguerilla.net', |
15 url='https://netzguerilla.net/admin/hg/iro', |
19 url='https://netzguerilla.net/iro', |
16 scripts=["bin/iro-install"], |
20 scripts=["bin/iro-install"], |
17 #entry_points = { |
21 package_data={ |
18 # 'console_scripts': ['iro = iro.py',], |
22 'twisted': ['plugins/iro_plugin.py'], |
19 # } |
23 }, |
|
24 classifiers=[ |
|
25 "Development Status :: 3 - Alpha", |
|
26 "Environment :: No Input/Output (Daemon)", |
|
27 "Framework :: Twisted", |
|
28 "Topic :: Communications :: Fax", |
|
29 "Topic :: Communications :: Email", |
|
30 "Topic :: Communications :: Sms", |
|
31 "Programming Language :: Python", |
|
32 ] |
20 ) |
33 ) |
|
34 |
|
35 refresh_plugin_cache() |