Fix and update INSTALL
This commit is contained in:
parent
e2aaef914a
commit
d70e72486a
1 changed files with 9 additions and 2 deletions
11
INSTALL
11
INSTALL
|
|
@ -12,7 +12,7 @@ The install mode copies files to the Python system-wide packages directory
|
||||||
(for example /usr/lib/python2.5/site-packages for Python 2.5,
|
(for example /usr/lib/python2.5/site-packages for Python 2.5,
|
||||||
or /usr/local/lib/python2.6/dist-packages for Python 2.6)
|
or /usr/local/lib/python2.6/dist-packages for Python 2.6)
|
||||||
|
|
||||||
# ./setup.py install
|
# python setup.py install
|
||||||
|
|
||||||
Scripts are copied to /usr/bin.
|
Scripts are copied to /usr/bin.
|
||||||
|
|
||||||
|
|
@ -32,9 +32,16 @@ The development mode doesn't copy files, but creates an egg-link
|
||||||
in the Python system-wide packages directory which points to the development
|
in the Python system-wide packages directory which points to the development
|
||||||
directory. It is useful for development when files often change.
|
directory. It is useful for development when files often change.
|
||||||
|
|
||||||
# ./setup.py develop
|
# python setup.py develop
|
||||||
|
|
||||||
Scripts are copied to /usr/bin too.
|
Scripts are copied to /usr/bin too.
|
||||||
|
|
||||||
To uninstall, remove the egg-link from the Python system-wide packages directory
|
To uninstall, remove the egg-link from the Python system-wide packages directory
|
||||||
and remove the weboob_dev line in easy-install.pth.
|
and remove the weboob_dev line in easy-install.pth.
|
||||||
|
|
||||||
|
It is possible to install in a specific directory, and it does not need root privileges. For instance:
|
||||||
|
|
||||||
|
$ mkdir ~/mydir
|
||||||
|
$ PYTHONPATH=~/mydir python setup.py develop --install-dir ~/mydir
|
||||||
|
|
||||||
|
That way, the only altered directory is the one you chose earlier.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue