SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы
НазадМетки: python
Note
This section has not been successfuly tested yet.
The Jython development trunk is very stable so it’s safe to get as the most recent version of the implementation. The subversion command is:
svn co https://jython.svn.sourceforge.net/svnroot/jython/trunk/jython
Then just invoke ant against the build.xml file. dist/bin/jython is a shell script that starts up jython in console mode. Lastly, modify the registry (in dist/registry) so that:
python.console=org.python.util.ReadlineConsole python.console.readlinelib=GnuReadline
(readline is GPL, so it makes it a bit harder to automate this part of the distro). See: http://wiki.python.org/jython/ReadlineSetup