|
Python3
Running rctk with Python 3
IntroductionMost parts of rctk works with Python 3. Because there's no Python 3 support for buildout, getting things to work means hacking around a bit. Let's pretend we're working in ~/rctk-py3 1. checkout rctk core, rctkdemos and vcr into ~/rctk-py3 2. easy_install sqlalchemy (version 0.6.x). Possibly using distribute 3. Create a work directory ~/rctk-py3/, symlink rctk/rctk rctkdemos/rctkdemos and vcr/vcr into this work directory 4. chdir to the workdirectory 5. start an applicaction using serve_py3.py, i.e. $ PYTHONPATH=. python3.1 rctk/serve_py3.py vcr.main.App 6. connect to localhost port 31337 what won't work- serve_mozilla.py, because there's no gtk/gtkmozembed support - server_webpy, because there's no web.py rctk has an application server voor python 3 called 'serve_py3.py'. It's built on http.server and doesn't provide fancy session support, though implementing support for sessions.Session or session.SpawnedSession should very well be possible. |