Mercurial > libervia-pubsub
annotate setup.py @ 216:53d2c0019458
Fix subscription and unsubscription JID checks.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Thu, 03 Sep 2009 16:27:32 +0000 |
parents | edabaa535476 |
children | f94c3eb38b75 |
rev | line source |
---|---|
155 | 1 #!/usr/bin/env python |
2 | |
212
edabaa535476
These files also belong to the Idavoll 0.9.0 release.
Ralph Meijer <ralphm@ik.nu>
parents:
208
diff
changeset
|
3 # Copyright (c) 2003-2009 Ralph Meijer |
155 | 4 # See LICENSE for details. |
5 | |
190
6e6c89eca9db
Make sure optional PostgreSQL connect parameters are passed as None, require
Ralph Meijer <ralphm@ik.nu>
parents:
189
diff
changeset
|
6 import sys |
189 | 7 from setuptools import setup |
155 | 8 |
193 | 9 install_requires = [ |
212
edabaa535476
These files also belong to the Idavoll 0.9.0 release.
Ralph Meijer <ralphm@ik.nu>
parents:
208
diff
changeset
|
10 'wokkel >= 0.5.0', |
193 | 11 'simplejson', |
12 ] | |
190
6e6c89eca9db
Make sure optional PostgreSQL connect parameters are passed as None, require
Ralph Meijer <ralphm@ik.nu>
parents:
189
diff
changeset
|
13 |
6e6c89eca9db
Make sure optional PostgreSQL connect parameters are passed as None, require
Ralph Meijer <ralphm@ik.nu>
parents:
189
diff
changeset
|
14 if sys.version_info < (2, 5): |
6e6c89eca9db
Make sure optional PostgreSQL connect parameters are passed as None, require
Ralph Meijer <ralphm@ik.nu>
parents:
189
diff
changeset
|
15 install_requires.append('uuid') |
6e6c89eca9db
Make sure optional PostgreSQL connect parameters are passed as None, require
Ralph Meijer <ralphm@ik.nu>
parents:
189
diff
changeset
|
16 |
155 | 17 setup(name='idavoll', |
212
edabaa535476
These files also belong to the Idavoll 0.9.0 release.
Ralph Meijer <ralphm@ik.nu>
parents:
208
diff
changeset
|
18 version='0.9.0', |
155 | 19 description='Jabber Publish-Subscribe Service Component', |
20 author='Ralph Meijer', | |
21 author_email='ralphm@ik.nu', | |
22 url='http://idavoll.ik.nu/', | |
23 license='MIT', | |
24 packages=[ | |
25 'idavoll', | |
184 | 26 'idavoll.test', |
155 | 27 'twisted.plugins', |
28 ], | |
189 | 29 package_data={'twisted.plugins': ['twisted/plugins/idavoll.py', |
30 'twisted/plugins/idavoll_http.py']}, | |
206
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
193
diff
changeset
|
31 data_files=[('share/idavoll', ['db/pubsub.sql', |
207 | 32 'db/gateway.sql', |
206
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
193
diff
changeset
|
33 'db/to_idavoll_0.8.sql'])], |
189 | 34 zip_safe=False, |
190
6e6c89eca9db
Make sure optional PostgreSQL connect parameters are passed as None, require
Ralph Meijer <ralphm@ik.nu>
parents:
189
diff
changeset
|
35 install_requires=install_requires, |
155 | 36 ) |