/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Vincent Ladeuil
  • Date: 2007-02-21 14:46:06 UTC
  • mto: (2326.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2327.
  • Revision ID: v.ladeuil+lp@free.fr-20070221144606-qoy01pue1p187j3b
Provide a better implementation for testing passwords.

* bzrlib/ui/__init__.py:
(UIFactory.get_login): Deleted.
(CLIUIFactory.get_non_echoed_password): New method allowing
overriding.

* bzrlib/tests/__init__.py:
(TestUIFactory.get_non_echoed_password): Allows password testing
 without worrying about echo echo.

* bzrlib/tests/__init__.py:
(TestUIFactory): Moved from bzrlib/tests/blackbox/__init__.py
(FakeStdin): Deleted.
(TestCase.run_bzr_captured): Set and reuse ui.ui_factory.stdin.

* bzrlib/ui/text.py:
(TextUIFactory.get_login): Deleted.
(TextUIFactory.get_password): Moved to CLIUIFactory.

* bzrlib/tests/test_ui.py:
(UITests): Delete get_login tests.
(FakeTextUIFactory): Deleted. Better implementation in
TestUIFactory.

* bzrlib/tests/blackbox/__init__.py:
(TestUIFactory): Moved to bzrlib/tests/__init__.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
  http://www.lag.net/paramiko/
15
15
 
16
 
bzr can optionally use compiled versions of some parts of the code
17
 
for increased speed. When installing bzr you need the ability to
18
 
build C extensions. Some Linux distributions package the necessary
19
 
headers separately from the main Python package. This package is
20
 
probably named something like python-dev or python-devel. FreeBSD,
21
 
Windows, source-based Linux distributions, and possibly other operating
22
 
systems, have the required files installed by default.
23
 
 
24
 
If you are installing bzr from a bzr branch rather than a release tarball,
25
 
then you should also have the Pyrex package installed. This is not necessary
26
 
for release tarballs as they already contain the C files that Pyrex is needed
27
 
to create.
28
 
 
29
 
  http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
30
 
 
31
16
Installation
32
17
------------
33
18
 
34
 
When upgrading using setup.py, it is recommended that you first delete the
35
 
bzrlib directory from the install target.
36
 
 
37
19
To install bzr as a user, run
38
20
 
39
21
  python setup.py install --home ~ 
42
24
 
43
25
  python setup.py install
44
26
 
45
 
For more information on installation, see
46
 
<http://wiki.bazaar.canonical.com/InstallationFaq>
47
 
or write to bazaar@lists.canonical.com, or ask a question at
48
 
<https://answers.launchpad.net/bzr/>.