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
15 # if 'cygwin' in sys.platform.lower():
16 # min_version = '0.6c6'
18 # min_version = '0.6a9'
21 # use_setuptools(min_version=min_version)
23 # # locally installed ez_setup won't have min_version
26 # from setuptools import setup, find_packages, Extension, Feature
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).
34 CLASSIFIERS
= [ 'Intended Audience :: Developers',
35 'License :: OSI Approved :: MIT',
36 'Programming Language :: Python',
37 'Topic :: Software Development :: Libraries :: Python Modules',
40 packages
= [ 'sleekxmpp',
44 'sleekxmpp/xmlstream',
45 'sleekxmpp/xmlstream/matcher',
46 'sleekxmpp/xmlstream/handler',
47 'sleekxmpp/thirdparty',
50 if sys
.version_info
< (3, 0):
51 py_modules
= ['sleekxmpp.xmlstream.tostring.tostring26']
53 py_modules
= ['sleekxmpp.xmlstream.tostring.tostring']
58 description
= DESCRIPTION
,
59 long_description
= LONG_DESCRIPTION
,
60 author
= 'Nathanael Fritz',
61 author_email
= 'fritzy [at] netflint.net',
62 url
= 'http://code.google.com/p/sleekxmpp',
64 platforms
= [ 'any' ],
66 py_modules
= py_modules
,
67 requires
= [ 'tlslite', 'pythondns' ],