Clean up and unify tostring once and for all.
Packaging for Python3 just got easier.
This commit is contained in:
6
setup.py
6
setup.py
@@ -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' ],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user