← Back to team overview

testtools-dev team mailing list archive

[Bug 710736] Re: setup.py requires bzr to be installed

 

We don't support installing directly from trunk unless you have Bazaar. If you want to install the bleeding edge on a system that doesn't have Bazaar, then:
 1. get trunk with Bazaar
 2. run 'python setup.py sdist'
 3. move the created tarball to the system that lacks Bazaar
 4. use that tarball to install


** Changed in: testtools
       Status: New => Incomplete

** Changed in: testtools
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/710736

Title:
  setup.py requires bzr to be installed

Status in testtools:
  Won't Fix

Bug description:
  setup.py requires bzrlib to be installed for my python. Even though
  there is not .bzr/ control directory

  C:\work\Python\testtools\testtools>setup.py bdist_wininst -d.
  Traceback (most recent call last):
    File "C:\work\Python\testtools\testtools\setup.py", line 63, in <module>
      version=get_version(),
    File "C:\work\Python\testtools\testtools\setup.py", line 41, in get_version
      revno = get_revno()
    File "C:\work\Python\testtools\testtools\setup.py", line 12, in get_revno
      import bzrlib.workingtree
  ImportError: No module named bzrlib.workingtree

  C:\work\Python\testtools\testtools>bzr export ../exported-tree

  
  C:\work\Python\testtools\exported-tree>setup.py bdist_wininst -d.
  Traceback (most recent call last):
    File "C:\work\Python\testtools\exported-tree\setup.py", line 63, in <module>
      version=get_version(),
    File "C:\work\Python\testtools\exported-tree\setup.py", line 41, in get_version
      revno = get_revno()
    File "C:\work\Python\testtools\exported-tree\setup.py", line 12, in get_revno
      import bzrlib.workingtree
  ImportError: No module named bzrlib.workingtree





References