Has anyone successfully executed the source control system Bazaar in IronPython?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, Bazaar is pure-python with optional extensions and will run on IronPython. There are a few caveats though. Firstly some changes are needed to Bazaar that haven’t yet been merged with the main branch. Secondly, IronPython’s slow startup time makes it unsuitable for general bzr usage, and there are are some outstanding issues due to missing modules and the like.
If you want to give it a go yourself though, you can. Download and install IronPython 2.6 and Jeff Hardy’s implementation of the zlib module for IronPython (follow the readme in the zip). You’ll also need to copy
gzip.pyfrom the CPython standard library to the IronPython lib folder. Finally, get a release version of Bazaar so you can get a copy of a development branch.With that done, you can follow something like this (adjusting for your own paths as needed) and have a functional(ish) Bazaar-on-IronPython:
Yes, all that junk for
setup.pyis needed (to tell Bazaar not to compile the pyrex versions of things and disutils not to try and make pyc files). There will probably be some extra (harmless) output complaining about encodings, but you should find that most things with local branches work fine.