stompest compatibility with Python3

67 views
Skip to first unread message

sivakumar...@bgch.co.uk

unread,
Oct 31, 2015, 2:45:41 AM10/31/15
to stompest
I am using python 3.4 and could not install even the newest version of stompest (2.1.6). Is it not supported for Python 3 yet????

I found the below piece of code in the setup.py file, i removed it and the installation was perfect, but just worried what if face any issues.


Code that i removed from setup.py :

if sys.version_info[:2] < (2, 6):

print 'stompest requires Python version 2.6 or later (%s detected).' % '.'.join(sys.version_info[:2])

sys.exit(-1)

if sys.version_info[:2] >= (3, 0):

print 'stompest is not yet compatible with Python 3 (%s detected).' % '.'.join(sys.version_info[:2])

sys.exit(-1)

nikipore

unread,
Oct 31, 2015, 2:56:32 AM10/31/15
to stompest
stompest had not been ported to Python 3 because Twisted hadn't been for a long time. Its core is running on Python 3, so someone could make an attempt to port it to Python 3. I do not have the time to dig myself into the details of creating and maintaining a bilingual (Python 2 and 3) version, but I do welcome a pull request or a fork.
Reply all
Reply to author
Forward
0 new messages