- commit
- d996503a9e4ac379b2bafec2019bacba13358e15
- parent
- b3ad561dde23e66cc107d7e340917fe12e6417a1
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-10-18 08:41
change twisted to trollius in setup.py and docs This port was split into several commits for clarity. The individual commits do not necessarily contain a working state. In python 3.4, asyncio was added to the standard library. It provides nearly all of the features we used from twisted (the only exceptions being LoopingCall and NetstringReceiver). It also has a very similar API. Asyncio is much more lightweight than twisted. Trollius is a backport of asyncio to earlier python versions. It allows us to be compatible with both python2 and python3. Twisted is only compatible with python2. There is some more work needed for python3 support. But this is a major step.
Diffstat
| M | laneya/protocol.py | 2 | +- |
| M | setup.py | 3 | +-- |
2 files changed, 2 insertions, 3 deletions
diff --git a/laneya/protocol.py b/laneya/protocol.py
@@ -1,7 +1,7 @@ 1 1 """Client/Server communication protocol. 2 2 3 3 This module implements a base class for the server/client communication4 -1 protocol based on :py:mod:`twisted`.-1 4 protocol based on :py:mod:`asyncio`. 5 5 6 6 laneya is a network based multiplayer game with a central server and multiple 7 7 clients that connect to that server. To avoid cheating, all game logic happens
diff --git a/setup.py b/setup.py
@@ -11,7 +11,7 @@ setup( 11 11 author_email='tobias.bengfort@posteo.de', 12 12 packages=['laneya'], 13 13 install_requires=[14 -1 'twisted',-1 14 'trollius', 15 15 'dirtywords', 16 16 ], 17 17 entry_points={'console_scripts': [ @@ -21,7 +21,6 @@ setup( 21 21 license='GPLv2+', 22 22 classifiers=[ 23 23 'Development Status :: 1 - Planning',24 -1 'Framework :: Twisted',25 24 'Intended Audience :: End Users/Desktop', 26 25 'Operating System :: OS Independent', 27 26 'Programming Language :: Python',