2 # -*- coding: utf-8 -*-
4 # Copyright (C) 2007-2008 Nathanael C. Fritz
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
17 # if 'cygwin' in sys.platform.lower():
18 # min_version = '0.6c6'
20 # min_version = '0.6a9'
23 # use_setuptools(min_version=min_version)
25 # # locally installed ez_setup won't have min_version
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 LONG_DESCRIPTION
= """
33 SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).
36 CLASSIFIERS
= [ 'Intended Audience :: Developers',
37 'License :: OSI Approved :: MIT',
38 'Programming Language :: Python',
39 'Topic :: Software Development :: Libraries :: Python Modules',
42 packages
= [ 'sleekxmpp',
45 'sleekxmpp/xmlstream',
46 'sleekxmpp/xmlstream/matcher',
47 'sleekxmpp/xmlstream/handler',
48 'sleekxmpp/thirdparty',
50 'sleekxmpp/plugins/xep_0009',
51 'sleekxmpp/plugins/xep_0009/stanza',
52 'sleekxmpp/plugins/xep_0030',
53 'sleekxmpp/plugins/xep_0030/stanza',
54 'sleekxmpp/plugins/xep_0050',
55 'sleekxmpp/plugins/xep_0059',
56 'sleekxmpp/plugins/xep_0085',
57 'sleekxmpp/plugins/xep_0086',
58 'sleekxmpp/plugins/xep_0092',
59 'sleekxmpp/plugins/xep_0128',
60 'sleekxmpp/plugins/xep_0199',
63 if sys
.version_info
< (3, 0):
64 py_modules
= ['sleekxmpp.xmlstream.tostring.tostring26']
66 py_modules
= ['sleekxmpp.xmlstream.tostring.tostring']
71 description
= DESCRIPTION
,
72 long_description
= LONG_DESCRIPTION
,
73 author
= 'Nathanael Fritz',
74 author_email
= 'fritzy [at] netflint.net',
75 url
= 'http://code.google.com/p/sleekxmpp',
77 platforms
= [ 'any' ],
79 py_modules
= py_modules
,
80 requires
= [ 'tlslite', 'pythondns' ],