2009-06-03 22:56:51 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2011-08-05 21:06:58 +00:00
|
|
|
# Copyright (C) 2007-2011 Nathanael C. Fritz
|
2009-06-03 22:56:51 +00:00
|
|
|
# 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
|
|
|
|
|
2011-04-08 20:41:18 +00:00
|
|
|
import sleekxmpp
|
|
|
|
|
2009-06-03 22:56:51 +00:00
|
|
|
# if 'cygwin' in sys.platform.lower():
|
|
|
|
# min_version = '0.6c6'
|
|
|
|
# else:
|
|
|
|
# min_version = '0.6a9'
|
2010-08-06 00:26:41 +00:00
|
|
|
#
|
2009-06-03 22:56:51 +00:00
|
|
|
# try:
|
|
|
|
# use_setuptools(min_version=min_version)
|
|
|
|
# except TypeError:
|
|
|
|
# # locally installed ez_setup won't have min_version
|
|
|
|
# use_setuptools()
|
2010-08-06 00:26:41 +00:00
|
|
|
#
|
2009-06-03 22:56:51 +00:00
|
|
|
# from setuptools import setup, find_packages, Extension, Feature
|
|
|
|
|
2011-04-08 20:41:18 +00:00
|
|
|
VERSION = sleekxmpp.__version__
|
2009-06-03 22:56:51 +00:00
|
|
|
DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
|
2011-08-05 21:06:58 +00:00
|
|
|
with open('README') as readme:
|
|
|
|
LONG_DESCRIPTION = '\n'.join(readme)
|
2009-06-03 22:56:51 +00:00
|
|
|
|
|
|
|
CLASSIFIERS = [ 'Intended Audience :: Developers',
|
2011-08-05 21:06:58 +00:00
|
|
|
'License :: OSI Approved :: MIT License',
|
2009-06-03 22:56:51 +00:00
|
|
|
'Programming Language :: Python',
|
2011-08-05 21:06:58 +00:00
|
|
|
'Programming Language :: Python 2.6',
|
|
|
|
'Programming Language :: Python 2.7',
|
|
|
|
'Programming Language :: Python 3.1',
|
|
|
|
'Programming Language :: Python 3.2',
|
2009-06-03 22:56:51 +00:00
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
]
|
|
|
|
|
2010-08-06 00:26:41 +00:00
|
|
|
packages = [ 'sleekxmpp',
|
2010-10-17 00:48:51 +00:00
|
|
|
'sleekxmpp/stanza',
|
2010-10-07 23:43:51 +00:00
|
|
|
'sleekxmpp/test',
|
2010-10-17 00:48:51 +00:00
|
|
|
'sleekxmpp/xmlstream',
|
|
|
|
'sleekxmpp/xmlstream/matcher',
|
|
|
|
'sleekxmpp/xmlstream/handler',
|
2010-12-17 02:15:13 +00:00
|
|
|
'sleekxmpp/plugins',
|
2011-01-13 11:53:17 +00:00
|
|
|
'sleekxmpp/plugins/xep_0009',
|
|
|
|
'sleekxmpp/plugins/xep_0009/stanza',
|
2010-12-17 02:15:13 +00:00
|
|
|
'sleekxmpp/plugins/xep_0030',
|
2011-01-12 17:22:48 +00:00
|
|
|
'sleekxmpp/plugins/xep_0030/stanza',
|
2011-03-24 03:00:41 +00:00
|
|
|
'sleekxmpp/plugins/xep_0050',
|
2011-01-11 16:30:56 +00:00
|
|
|
'sleekxmpp/plugins/xep_0059',
|
2011-08-04 01:11:00 +00:00
|
|
|
'sleekxmpp/plugins/xep_0060',
|
2011-08-04 06:56:24 +00:00
|
|
|
'sleekxmpp/plugins/xep_0060/stanza',
|
2011-08-04 07:07:30 +00:00
|
|
|
'sleekxmpp/plugins/xep_0066',
|
2011-02-24 17:10:29 +00:00
|
|
|
'sleekxmpp/plugins/xep_0085',
|
2011-03-24 17:14:26 +00:00
|
|
|
'sleekxmpp/plugins/xep_0086',
|
2011-01-11 16:30:56 +00:00
|
|
|
'sleekxmpp/plugins/xep_0092',
|
2011-03-23 00:42:43 +00:00
|
|
|
'sleekxmpp/plugins/xep_0128',
|
2011-08-05 04:56:35 +00:00
|
|
|
'sleekxmpp/plugins/xep_0199',
|
2011-08-04 07:07:30 +00:00
|
|
|
'sleekxmpp/plugins/xep_0202',
|
|
|
|
'sleekxmpp/plugins/xep_0203',
|
|
|
|
'sleekxmpp/plugins/xep_0224',
|
|
|
|
'sleekxmpp/plugins/xep_0249',
|
2011-08-04 00:00:51 +00:00
|
|
|
'sleekxmpp/features',
|
|
|
|
'sleekxmpp/features/feature_mechanisms',
|
|
|
|
'sleekxmpp/features/feature_mechanisms/stanza',
|
2011-08-04 01:30:46 +00:00
|
|
|
'sleekxmpp/features/feature_starttls',
|
|
|
|
'sleekxmpp/features/feature_bind',
|
|
|
|
'sleekxmpp/features/feature_session',
|
2011-08-04 00:00:51 +00:00
|
|
|
'sleekxmpp/thirdparty',
|
|
|
|
'sleekxmpp/thirdparty/suelta',
|
|
|
|
'sleekxmpp/thirdparty/suelta/mechanisms',
|
2010-10-14 01:15:21 +00:00
|
|
|
]
|
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',
|
2011-08-05 21:06:58 +00:00
|
|
|
url = 'http://github.com/fritzy/SleekXMPP',
|
2010-03-26 21:32:16 +00:00
|
|
|
license = 'MIT',
|
2009-06-03 22:56:51 +00:00
|
|
|
platforms = [ 'any' ],
|
2010-10-17 00:48:51 +00:00
|
|
|
packages = packages,
|
2009-06-03 22:56:51 +00:00
|
|
|
requires = [ 'tlslite', 'pythondns' ],
|
|
|
|
)
|
|
|
|
|