mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Added roster package to setup.py
This commit is contained in:
parent
ce145b04ac
commit
0826a44d4b
1 changed files with 83 additions and 82 deletions
165
setup.py
165
setup.py
|
@ -1,82 +1,83 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007-2008 Nathanael C. Fritz
|
# Copyright (C) 2007-2008 Nathanael C. Fritz
|
||||||
# All Rights Reserved
|
# All Rights Reserved
|
||||||
#
|
#
|
||||||
# This software is licensed as described in the README file,
|
# This software is licensed as described in the README file,
|
||||||
# which you should have received as part of this distribution.
|
# which you should have received as part of this distribution.
|
||||||
#
|
#
|
||||||
|
|
||||||
# from ez_setup import use_setuptools
|
# from ez_setup import use_setuptools
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import sleekxmpp
|
import sleekxmpp
|
||||||
|
|
||||||
# if 'cygwin' in sys.platform.lower():
|
# if 'cygwin' in sys.platform.lower():
|
||||||
# min_version = '0.6c6'
|
# min_version = '0.6c6'
|
||||||
# else:
|
# else:
|
||||||
# min_version = '0.6a9'
|
# min_version = '0.6a9'
|
||||||
#
|
#
|
||||||
# try:
|
# try:
|
||||||
# use_setuptools(min_version=min_version)
|
# use_setuptools(min_version=min_version)
|
||||||
# except TypeError:
|
# except TypeError:
|
||||||
# # locally installed ez_setup won't have min_version
|
# # locally installed ez_setup won't have min_version
|
||||||
# use_setuptools()
|
# use_setuptools()
|
||||||
#
|
#
|
||||||
# from setuptools import setup, find_packages, Extension, Feature
|
# from setuptools import setup, find_packages, Extension, Feature
|
||||||
|
|
||||||
VERSION = sleekxmpp.__version__
|
VERSION = sleekxmpp.__version__
|
||||||
DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
|
DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
|
||||||
LONG_DESCRIPTION = """
|
LONG_DESCRIPTION = """
|
||||||
SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).
|
SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
CLASSIFIERS = [ 'Intended Audience :: Developers',
|
CLASSIFIERS = [ 'Intended Audience :: Developers',
|
||||||
'License :: OSI Approved :: MIT',
|
'License :: OSI Approved :: MIT',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
]
|
]
|
||||||
|
|
||||||
packages = [ 'sleekxmpp',
|
packages = [ 'sleekxmpp',
|
||||||
'sleekxmpp/stanza',
|
'sleekxmpp/stanza',
|
||||||
'sleekxmpp/test',
|
'sleekxmpp/test',
|
||||||
'sleekxmpp/xmlstream',
|
'sleekxmpp/xmlstream',
|
||||||
'sleekxmpp/xmlstream/matcher',
|
'sleekxmpp/xmlstream/matcher',
|
||||||
'sleekxmpp/xmlstream/handler',
|
'sleekxmpp/xmlstream/handler',
|
||||||
'sleekxmpp/thirdparty',
|
'sleekxmpp/thirdparty',
|
||||||
'sleekxmpp/plugins',
|
'sleekxmpp/roster',
|
||||||
'sleekxmpp/plugins/xep_0009',
|
'sleekxmpp/plugins',
|
||||||
'sleekxmpp/plugins/xep_0009/stanza',
|
'sleekxmpp/plugins/xep_0009',
|
||||||
'sleekxmpp/plugins/xep_0030',
|
'sleekxmpp/plugins/xep_0009/stanza',
|
||||||
'sleekxmpp/plugins/xep_0030/stanza',
|
'sleekxmpp/plugins/xep_0030',
|
||||||
'sleekxmpp/plugins/xep_0050',
|
'sleekxmpp/plugins/xep_0030/stanza',
|
||||||
'sleekxmpp/plugins/xep_0059',
|
'sleekxmpp/plugins/xep_0050',
|
||||||
'sleekxmpp/plugins/xep_0085',
|
'sleekxmpp/plugins/xep_0059',
|
||||||
'sleekxmpp/plugins/xep_0086',
|
'sleekxmpp/plugins/xep_0085',
|
||||||
'sleekxmpp/plugins/xep_0092',
|
'sleekxmpp/plugins/xep_0086',
|
||||||
'sleekxmpp/plugins/xep_0128',
|
'sleekxmpp/plugins/xep_0092',
|
||||||
'sleekxmpp/plugins/xep_0199',
|
'sleekxmpp/plugins/xep_0128',
|
||||||
]
|
'sleekxmpp/plugins/xep_0199',
|
||||||
|
]
|
||||||
if sys.version_info < (3, 0):
|
|
||||||
py_modules = ['sleekxmpp.xmlstream.tostring.tostring26']
|
if sys.version_info < (3, 0):
|
||||||
else:
|
py_modules = ['sleekxmpp.xmlstream.tostring.tostring26']
|
||||||
py_modules = ['sleekxmpp.xmlstream.tostring.tostring']
|
else:
|
||||||
|
py_modules = ['sleekxmpp.xmlstream.tostring.tostring']
|
||||||
setup(
|
|
||||||
name = "sleekxmpp",
|
setup(
|
||||||
version = VERSION,
|
name = "sleekxmpp",
|
||||||
description = DESCRIPTION,
|
version = VERSION,
|
||||||
long_description = LONG_DESCRIPTION,
|
description = DESCRIPTION,
|
||||||
author = 'Nathanael Fritz',
|
long_description = LONG_DESCRIPTION,
|
||||||
author_email = 'fritzy [at] netflint.net',
|
author = 'Nathanael Fritz',
|
||||||
url = 'http://code.google.com/p/sleekxmpp',
|
author_email = 'fritzy [at] netflint.net',
|
||||||
license = 'MIT',
|
url = 'http://code.google.com/p/sleekxmpp',
|
||||||
platforms = [ 'any' ],
|
license = 'MIT',
|
||||||
packages = packages,
|
platforms = [ 'any' ],
|
||||||
py_modules = py_modules,
|
packages = packages,
|
||||||
requires = [ 'tlslite', 'pythondns' ],
|
py_modules = py_modules,
|
||||||
)
|
requires = [ 'tlslite', 'pythondns' ],
|
||||||
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue