Do not traceback when DNS resolution time out.
[slixmpp.git] / setup.py
blob456826798492771d22abb1bbc16eec4f4130d7a8
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
4 # Copyright (C) 2007-2008 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 # if 'cygwin' in sys.platform.lower():
16 # min_version = '0.6c6'
17 # else:
18 # min_version = '0.6a9'
20 # try:
21 # use_setuptools(min_version=min_version)
22 # except TypeError:
23 # # locally installed ez_setup won't have min_version
24 # use_setuptools()
26 # from setuptools import setup, find_packages, Extension, Feature
28 VERSION = '1.0.0.0'
29 DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
30 LONG_DESCRIPTION = """
31 SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).
32 """
34 CLASSIFIERS = [ 'Intended Audience :: Developers',
35 'License :: OSI Approved :: MIT',
36 'Programming Language :: Python',
37 'Topic :: Software Development :: Libraries :: Python Modules',
40 packages = [ 'sleekxmpp',
41 'sleekxmpp/stanza',
42 'sleekxmpp/test',
43 'sleekxmpp/xmlstream',
44 'sleekxmpp/xmlstream/matcher',
45 'sleekxmpp/xmlstream/handler',
46 'sleekxmpp/thirdparty',
47 'sleekxmpp/plugins',
48 'sleekxmpp/plugins/xep_0030',
49 'sleekxmpp/plugins/xep_0030/stanza',
50 'sleekxmpp/plugins/xep_0059',
51 'sleekxmpp/plugins/xep_0092',
54 if sys.version_info < (3, 0):
55 py_modules = ['sleekxmpp.xmlstream.tostring.tostring26']
56 else:
57 py_modules = ['sleekxmpp.xmlstream.tostring.tostring']
59 setup(
60 name = "sleekxmpp",
61 version = VERSION,
62 description = DESCRIPTION,
63 long_description = LONG_DESCRIPTION,
64 author = 'Nathanael Fritz',
65 author_email = 'fritzy [at] netflint.net',
66 url = 'http://code.google.com/p/sleekxmpp',
67 license = 'MIT',
68 platforms = [ 'any' ],
69 packages = packages,
70 py_modules = py_modules,
71 requires = [ 'tlslite', 'pythondns' ],