2011-06-18 21:32:09 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2011-08-12 23:47:58 +00:00
|
|
|
# Copyright (C) 2007-2011 Nathanael C. Fritz
|
2011-06-18 21:32:09 +00:00
|
|
|
# All Rights Reserved
|
|
|
|
#
|
2011-08-25 04:54:36 +00:00
|
|
|
# This software is licensed as described in the README.rst and LICENSE
|
|
|
|
# file, which you should have received as part of this distribution.
|
2011-06-18 21:32:09 +00:00
|
|
|
|
|
|
|
import sys
|
2012-01-09 23:38:19 +00:00
|
|
|
import codecs
|
2011-11-08 15:01:16 +00:00
|
|
|
try:
|
|
|
|
from setuptools import setup, Command
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup, Command
|
2011-08-25 04:54:36 +00:00
|
|
|
# from ez_setup import use_setuptools
|
2011-06-18 21:32:09 +00:00
|
|
|
|
2011-08-25 04:54:36 +00:00
|
|
|
from testall import TestCommand
|
|
|
|
from sleekxmpp.version import __version__
|
2011-06-18 21:32:09 +00:00
|
|
|
# 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
|
|
|
|
|
2011-08-25 04:54:36 +00:00
|
|
|
VERSION = __version__
|
2011-06-18 21:32:09 +00:00
|
|
|
DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
|
2012-01-09 23:38:19 +00:00
|
|
|
with codecs.open('README.rst', 'r', encoding='UTF-8') as readme:
|
2011-08-25 04:54:36 +00:00
|
|
|
LONG_DESCRIPTION = ''.join(readme)
|
2011-06-18 21:32:09 +00:00
|
|
|
|
|
|
|
CLASSIFIERS = [ 'Intended Audience :: Developers',
|
2011-08-12 23:47:58 +00:00
|
|
|
'License :: OSI Approved :: MIT License',
|
2011-06-18 21:32:09 +00:00
|
|
|
'Programming Language :: Python',
|
2011-09-01 23:47:30 +00:00
|
|
|
'Programming Language :: Python :: 2.6',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3.1',
|
|
|
|
'Programming Language :: Python :: 3.2',
|
2011-06-18 21:32:09 +00:00
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
]
|
|
|
|
|
|
|
|
packages = [ 'sleekxmpp',
|
|
|
|
'sleekxmpp/stanza',
|
|
|
|
'sleekxmpp/test',
|
2011-08-12 23:51:43 +00:00
|
|
|
'sleekxmpp/roster',
|
2012-07-22 07:16:35 +00:00
|
|
|
'sleekxmpp/util',
|
2012-07-31 05:06:55 +00:00
|
|
|
'sleekxmpp/util/sasl',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/xmlstream',
|
|
|
|
'sleekxmpp/xmlstream/matcher',
|
|
|
|
'sleekxmpp/xmlstream/handler',
|
|
|
|
'sleekxmpp/plugins',
|
2011-08-13 06:56:14 +00:00
|
|
|
'sleekxmpp/plugins/xep_0004',
|
|
|
|
'sleekxmpp/plugins/xep_0004/stanza',
|
2011-08-12 23:51:43 +00:00
|
|
|
'sleekxmpp/plugins/xep_0009',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0009/stanza',
|
2012-04-10 01:45:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0012',
|
2012-09-26 08:47:05 +00:00
|
|
|
'sleekxmpp/plugins/xep_0013',
|
2012-07-31 05:07:24 +00:00
|
|
|
'sleekxmpp/plugins/xep_0016',
|
2013-02-14 18:37:38 +00:00
|
|
|
'sleekxmpp/plugins/xep_0020',
|
2012-04-10 01:45:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0027',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0030',
|
|
|
|
'sleekxmpp/plugins/xep_0030/stanza',
|
2012-06-19 05:03:03 +00:00
|
|
|
'sleekxmpp/plugins/xep_0033',
|
2012-02-02 17:27:23 +00:00
|
|
|
'sleekxmpp/plugins/xep_0047',
|
2013-01-04 08:26:18 +00:00
|
|
|
'sleekxmpp/plugins/xep_0048',
|
2012-09-12 03:39:32 +00:00
|
|
|
'sleekxmpp/plugins/xep_0049',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0050',
|
2012-04-10 01:45:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0054',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0059',
|
2011-08-04 18:52:17 +00:00
|
|
|
'sleekxmpp/plugins/xep_0060',
|
|
|
|
'sleekxmpp/plugins/xep_0060/stanza',
|
2012-06-09 16:45:13 +00:00
|
|
|
'sleekxmpp/plugins/xep_0065',
|
2011-08-12 23:47:58 +00:00
|
|
|
'sleekxmpp/plugins/xep_0066',
|
2012-10-19 04:13:08 +00:00
|
|
|
'sleekxmpp/plugins/xep_0071',
|
2012-01-19 10:37:36 +00:00
|
|
|
'sleekxmpp/plugins/xep_0077',
|
2011-08-12 23:47:58 +00:00
|
|
|
'sleekxmpp/plugins/xep_0078',
|
2012-03-10 20:54:31 +00:00
|
|
|
'sleekxmpp/plugins/xep_0080',
|
2012-06-17 23:26:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0084',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0085',
|
|
|
|
'sleekxmpp/plugins/xep_0086',
|
2012-09-26 08:47:45 +00:00
|
|
|
'sleekxmpp/plugins/xep_0091',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0092',
|
2012-03-11 07:32:20 +00:00
|
|
|
'sleekxmpp/plugins/xep_0107',
|
2012-03-11 19:37:54 +00:00
|
|
|
'sleekxmpp/plugins/xep_0108',
|
2012-01-12 00:39:55 +00:00
|
|
|
'sleekxmpp/plugins/xep_0115',
|
2012-03-10 18:30:32 +00:00
|
|
|
'sleekxmpp/plugins/xep_0118',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0128',
|
2012-07-28 08:06:21 +00:00
|
|
|
'sleekxmpp/plugins/xep_0131',
|
2012-04-10 01:45:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0153',
|
2012-03-11 08:22:28 +00:00
|
|
|
'sleekxmpp/plugins/xep_0172',
|
2012-02-02 13:29:27 +00:00
|
|
|
'sleekxmpp/plugins/xep_0184',
|
2012-06-21 06:37:39 +00:00
|
|
|
'sleekxmpp/plugins/xep_0186',
|
2012-07-17 03:10:14 +00:00
|
|
|
'sleekxmpp/plugins/xep_0191',
|
2012-03-18 08:02:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0198',
|
2011-06-18 21:32:09 +00:00
|
|
|
'sleekxmpp/plugins/xep_0199',
|
2011-08-12 23:47:58 +00:00
|
|
|
'sleekxmpp/plugins/xep_0202',
|
|
|
|
'sleekxmpp/plugins/xep_0203',
|
2012-06-21 06:38:30 +00:00
|
|
|
'sleekxmpp/plugins/xep_0221',
|
2011-08-12 23:47:58 +00:00
|
|
|
'sleekxmpp/plugins/xep_0224',
|
2012-04-10 01:45:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0231',
|
2012-09-05 02:42:49 +00:00
|
|
|
'sleekxmpp/plugins/xep_0235',
|
2011-08-12 23:47:58 +00:00
|
|
|
'sleekxmpp/plugins/xep_0249',
|
2012-10-19 07:01:02 +00:00
|
|
|
'sleekxmpp/plugins/xep_0257',
|
2012-06-18 08:32:58 +00:00
|
|
|
'sleekxmpp/plugins/xep_0258',
|
2012-09-05 03:39:43 +00:00
|
|
|
'sleekxmpp/plugins/xep_0279',
|
2012-09-25 09:34:51 +00:00
|
|
|
'sleekxmpp/plugins/xep_0280',
|
2012-09-25 05:59:19 +00:00
|
|
|
'sleekxmpp/plugins/xep_0297',
|
2012-09-25 19:35:53 +00:00
|
|
|
'sleekxmpp/plugins/xep_0308',
|
2012-09-26 03:20:43 +00:00
|
|
|
'sleekxmpp/plugins/xep_0313',
|
2013-01-26 22:40:23 +00:00
|
|
|
'sleekxmpp/plugins/google',
|
|
|
|
'sleekxmpp/plugins/google/gmail',
|
|
|
|
'sleekxmpp/plugins/google/auth',
|
|
|
|
'sleekxmpp/plugins/google/settings',
|
|
|
|
'sleekxmpp/plugins/google/nosave',
|
2011-08-04 18:52:17 +00:00
|
|
|
'sleekxmpp/features',
|
|
|
|
'sleekxmpp/features/feature_mechanisms',
|
|
|
|
'sleekxmpp/features/feature_mechanisms/stanza',
|
|
|
|
'sleekxmpp/features/feature_starttls',
|
|
|
|
'sleekxmpp/features/feature_bind',
|
|
|
|
'sleekxmpp/features/feature_session',
|
2012-03-09 00:21:22 +00:00
|
|
|
'sleekxmpp/features/feature_rosterver',
|
2012-07-31 05:06:55 +00:00
|
|
|
'sleekxmpp/features/feature_preapproval',
|
2011-08-04 18:52:17 +00:00
|
|
|
'sleekxmpp/thirdparty',
|
2011-06-18 21:32:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name = "sleekxmpp",
|
|
|
|
version = VERSION,
|
|
|
|
description = DESCRIPTION,
|
|
|
|
long_description = LONG_DESCRIPTION,
|
|
|
|
author = 'Nathanael Fritz',
|
|
|
|
author_email = 'fritzy [at] netflint.net',
|
2011-08-12 23:47:58 +00:00
|
|
|
url = 'http://github.com/fritzy/SleekXMPP',
|
2011-06-18 21:32:09 +00:00
|
|
|
license = 'MIT',
|
|
|
|
platforms = [ 'any' ],
|
|
|
|
packages = packages,
|
2012-05-22 10:56:06 +00:00
|
|
|
requires = [ 'dnspython', 'pyasn1', 'pyasn1_modules' ],
|
2011-08-25 04:54:36 +00:00
|
|
|
classifiers = CLASSIFIERS,
|
|
|
|
cmdclass = {'test': TestCommand}
|
2011-08-12 23:47:58 +00:00
|
|
|
)
|