Default history is 0
[slixmpp.git] / setup.py
blobcf94b4d7367b02fa2c5274a6eba8a78b02b870fd
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/plugins',
42 'sleekxmpp/stanza',
43 'sleekxmpp/test',
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']
52 else:
53 py_modules = ['sleekxmpp.xmlstream.tostring.tostring']
55 setup(
56 name = "sleekxmpp",
57 version = VERSION,
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',
63 license = 'MIT',
64 platforms = [ 'any' ],
65 packages = packages,
66 py_modules = py_modules,
67 requires = [ 'tlslite', 'pythondns' ],