How do I install it?

Asked by Jeramy Rutley

I've tried numerous things to get this to install, but nothing seems to work, including downloading python and running such commands like
python setup.py build
python setup.py install <- this installs it into Python subfolders... unexpectedly.
python setup.py build_ext -i (like the manual says)

I've tried manually copying them into the plugin folders, both the system-wide and the APPDATA folders

I've been expecting it to show up under Bazaar->Plugins

This is on Windows 7 btw. Anyway, if someone could answer, I would appreciate it.

Question information

Language:
English Edit question
Status:
Solved
For:
Team Foundation Server support for Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
John C Barstow
Solved:
Last query:
Last reply:
Revision history for this message
Best John C Barstow (jbowtie) said :
#1

The bzr-tfs plugin needs to go into your plugins directory, as
documented in the user guide[1].

There is also a need to have python-ntlm[2] installed. If you've
installed the standalone Windows client, my advice is to drop the
"ntlm" directory inside the "bzr-tfs" directory. Hopefully in future
we can resolve the dependency issue.

 [1]: http://doc.bazaar.canonical.com/bzr.2.2/en/user-guide/plugins.html#how-to-install-a-plugin
 [2]: http://code.google.com/p/python-ntlm/

Revision history for this message
Jeramy Rutley (jrutley) said :
#2

Thanks John C Barstow, that solved my question.

Revision history for this message
Jeramy Rutley (jrutley) said :
#3

In the guide, it mentions to build it using

python setup.py build_ext -i

That didn't actually work for me... I ended up running

python setup.py build

followed by

python setup.py install (probably wasn't necessary, but I didn't see the .pyc files right away)

and then copied the built folder into the plugins folder %APPDATA%\bazaar\2.0\plugins

Then I dropped the ntlm folder inside %APPDATA%\bazaar\2.0\plugins\tfs\