Clean up and unify tostring once and for all.

Packaging for Python3 just got easier.
This commit is contained in:
Lance Stout
2011-08-04 11:41:36 -07:00
parent 7cd39a6aad
commit b9764cc120
4 changed files with 9 additions and 145 deletions

View File

@@ -70,11 +70,6 @@ packages = [ 'sleekxmpp',
'sleekxmpp/thirdparty/suelta/mechanisms',
]
if sys.version_info < (3, 0):
py_modules = ['sleekxmpp.xmlstream.tostring.tostring26']
else:
py_modules = ['sleekxmpp.xmlstream.tostring.tostring']
setup(
name = "sleekxmpp",
version = VERSION,
@@ -86,7 +81,6 @@ setup(
license = 'MIT',
platforms = [ 'any' ],
packages = packages,
py_modules = py_modules,
requires = [ 'tlslite', 'pythondns' ],
)