开发者

How can i read bzr repository from python script?

开发者 https://www.devze.com 2022-12-31 12:39 出处:网络
like getting inf开发者_开发问答ormation about changesets/comments etc.First off, if you are on Windows, you should consider using the \"Python 2.x\" installers rather than the standalone installer for

like getting inf开发者_开发问答ormation about changesets/comments etc.


First off, if you are on Windows, you should consider using the "Python 2.x" installers rather than the standalone installer for Bazaar. This will install bzrlib in Python's site-packages directory, so you don't have to mess around with %PYTHONPATH%. If you have already used the stanadalone installer, you'll need to add lib/ and lib/library.zip from your Bazaar installation directory to the PYTHONPATH environment variable. If you chose the default, this is C:\Program Files\Bazaar

Once you can successfully import bzrlib, some examples showing how to actually interact with the bzr backend can be found on the Bazaar wiki.

For details, see Integrating with Bazaar in the Bazaar developer documentation


Found: http://wiki.bazaar.canonical.com/BzrLib

0

精彩评论

暂无评论...
验证码 换一张
取 消