Make Iq exceptions more discoverable and simpler to use.
[slixmpp.git] / setup.py
blob877991a8ad0656e031d8c6da03b58cf5dd1750be
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
4 # Copyright (C) 2007-2011 Nathanael C. Fritz
5 # All Rights Reserved
7 # This software is licensed as described in the README file,
8 # which you should have received as part of this distribution.
11 # from ez_setup import use_setuptools
12 from distutils.core import setup
13 import sys
15 import sleekxmpp
17 # if 'cygwin' in sys.platform.lower():
18 # min_version = '0.6c6'
19 # else:
20 # min_version = '0.6a9'
22 # try:
23 # use_setuptools(min_version=min_version)
24 # except TypeError:
25 # # locally installed ez_setup won't have min_version
26 # use_setuptools()
28 # from setuptools import setup, find_packages, Extension, Feature
30 VERSION = sleekxmpp.__version__
31 DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
32 with open('README.rst') as readme:
33 LONG_DESCRIPTION = '\n'.join(readme)
35 CLASSIFIERS = [ 'Intended Audience :: Developers',
36 'License :: OSI Approved :: MIT License',
37 'Programming Language :: Python',
38 'Programming Language :: Python 2.6',
39 'Programming Language :: Python 2.7',
40 'Programming Language :: Python 3.1',
41 'Programming Language :: Python 3.2',
42 'Topic :: Software Development :: Libraries :: Python Modules',
45 packages = [ 'sleekxmpp',
46 'sleekxmpp/stanza',
47 'sleekxmpp/test',
48 'sleekxmpp/roster',
49 'sleekxmpp/xmlstream',
50 'sleekxmpp/xmlstream/matcher',
51 'sleekxmpp/xmlstream/handler',
52 'sleekxmpp/plugins',
53 'sleekxmpp/plugins/xep_0004',
54 'sleekxmpp/plugins/xep_0004/stanza',
55 'sleekxmpp/plugins/xep_0009',
56 'sleekxmpp/plugins/xep_0009/stanza',
57 'sleekxmpp/plugins/xep_0030',
58 'sleekxmpp/plugins/xep_0030/stanza',
59 'sleekxmpp/plugins/xep_0050',
60 'sleekxmpp/plugins/xep_0059',
61 'sleekxmpp/plugins/xep_0060',
62 'sleekxmpp/plugins/xep_0060/stanza',
63 'sleekxmpp/plugins/xep_0066',
64 'sleekxmpp/plugins/xep_0078',
65 'sleekxmpp/plugins/xep_0085',
66 'sleekxmpp/plugins/xep_0086',
67 'sleekxmpp/plugins/xep_0092',
68 'sleekxmpp/plugins/xep_0128',
69 'sleekxmpp/plugins/xep_0199',
70 'sleekxmpp/plugins/xep_0202',
71 'sleekxmpp/plugins/xep_0203',
72 'sleekxmpp/plugins/xep_0224',
73 'sleekxmpp/plugins/xep_0249',
74 'sleekxmpp/features',
75 'sleekxmpp/features/feature_mechanisms',
76 'sleekxmpp/features/feature_mechanisms/stanza',
77 'sleekxmpp/features/feature_starttls',
78 'sleekxmpp/features/feature_bind',
79 'sleekxmpp/features/feature_session',
80 'sleekxmpp/thirdparty',
81 'sleekxmpp/thirdparty/suelta',
82 'sleekxmpp/thirdparty/suelta/mechanisms',
85 setup(
86 name = "sleekxmpp",
87 version = VERSION,
88 description = DESCRIPTION,
89 long_description = LONG_DESCRIPTION,
90 author = 'Nathanael Fritz',
91 author_email = 'fritzy [at] netflint.net',
92 url = 'http://github.com/fritzy/SleekXMPP',
93 license = 'MIT',
94 platforms = [ 'any' ],
95 packages = packages,
96 requires = [ 'tlslite', 'pythondns' ],