# you need to clone the mercurial repository from hg::http://hg.python.org/jython # to clone mercurial repo with git you need https://github.com/felipec/git/wiki/git-remote-hg # remember then to checkout the tag you want to build # rename sources and references org.python to org.python27 for f in `find . -type d -name python | grep org/python | grep -v .git`; do git mv $f ${f}27; done for f in `git grep --full-name -l org.python`; do sed -i "" 's/org\.python/org.python27/g' $f; done for f in `git grep --full-name -l org.python`; do sed -i "" 's/org\/python/org\/python27/g' $f; done # this builds the jython standalone jar wihtout sources. ant jar-standalone # create and copy a new version in ivy-repository/python/jython27/