2009-06-03 22:56:51 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2008 Nathanael C. Fritz
|
|
|
|
# All Rights Reserved
|
|
|
|
#
|
|
|
|
# This software is licensed as described in the README file,
|
|
|
|
# which you should have received as part of this distribution.
|
|
|
|
#
|
|
|
|
|
|
|
|
# from ez_setup import use_setuptools
|
|
|
|
from distutils.core import setup
|
|
|
|
import sys
|
|
|
|
|
|
|
|
# if 'cygwin' in sys.platform.lower():
|
|
|
|
# min_version = '0.6c6'
|
|
|
|
# else:
|
|
|
|
# min_version = '0.6a9'
|
|
|
|
#
|
|
|
|
# try:
|
|
|
|
# use_setuptools(min_version=min_version)
|
|
|
|
# except TypeError:
|
|
|
|
# # locally installed ez_setup won't have min_version
|
|
|
|
# use_setuptools()
|
|
|
|
#
|
|
|
|
# from setuptools import setup, find_packages, Extension, Feature
|
|
|
|
|
|
|
|
VERSION = '0.2.3.1'
|
|
|
|
DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
|
|
|
|
LONG_DESCRIPTION = """
|
|
|
|
SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).
|
|
|
|
"""
|
|
|
|
|
|
|
|
CLASSIFIERS = [ 'Intended Audience :: Developers',
|
2010-03-26 21:32:16 +00:00
|
|
|
'License :: OSI Approved :: MIT',
|
2009-06-03 22:56:51 +00:00
|
|
|
'Programming Language :: Python',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
]
|
|
|
|
|
2010-01-30 07:57:57 +00:00
|
|
|
packages = [ 'sleekxmpp',
|
|
|
|
'sleekxmpp/plugins',
|
|
|
|
'sleekxmpp/stanza',
|
|
|
|
'sleekxmpp/xmlstream',
|
|
|
|
'sleekxmpp/xmlstream/matcher',
|
|
|
|
'sleekxmpp/xmlstream/handler' ]
|
|
|
|
|
2010-02-24 19:56:57 +00:00
|
|
|
if sys.version_info < (3, 0):
|
|
|
|
packages.append('sleekxmpp/xmlstream/tostring26')
|
|
|
|
else:
|
|
|
|
packages.append('sleekxmpp/xmlstream/tostring')
|
2010-01-30 07:57:57 +00:00
|
|
|
|
2009-06-03 22:56:51 +00:00
|
|
|
setup(
|
|
|
|
name = "sleekxmpp",
|
|
|
|
version = VERSION,
|
|
|
|
description = DESCRIPTION,
|
|
|
|
long_description = LONG_DESCRIPTION,
|
|
|
|
author = 'Nathanael Fritz',
|
|
|
|
author_email = 'fritzy [at] netflint.net',
|
|
|
|
url = 'http://code.google.com/p/sleekxmpp',
|
2010-03-26 21:32:16 +00:00
|
|
|
license = 'MIT',
|
2009-06-03 22:56:51 +00:00
|
|
|
platforms = [ 'any' ],
|
2010-01-30 07:57:57 +00:00
|
|
|
packages = packages,
|
2009-06-03 22:56:51 +00:00
|
|
|
requires = [ 'tlslite', 'pythondns' ],
|
|
|
|
)
|
|
|
|
|