INSTALL 1.21 KB
Newer Older
Christophe Benz's avatar
Christophe Benz committed
1
2
3
Weboob installation
===================

Christophe Benz's avatar
Christophe Benz committed
4
5
Like any Python package using setuptools, Weboob can be installed in install
mode or in development mode.
Christophe Benz's avatar
Christophe Benz committed
6

Christophe Benz's avatar
Christophe Benz committed
7

Christophe Benz's avatar
Christophe Benz committed
8
9
Install mode
------------
Christophe Benz's avatar
Christophe Benz committed
10

Christophe Benz's avatar
Christophe Benz committed
11
12
13
The install mode copies files to the Python system-wide packages directory
(for example /usr/lib/python2.5/site-packages for Python 2.5,
or /usr/local/lib/python2.6/dist-packages for Python 2.6)
Christophe Benz's avatar
Christophe Benz committed
14

Christophe Benz's avatar
Christophe Benz committed
15
# ./setup.py install
Christophe Benz's avatar
Christophe Benz committed
16

Christophe Benz's avatar
Christophe Benz committed
17
Scripts are copied to /usr/bin.
Christophe Benz's avatar
Christophe Benz committed
18

Christophe Benz's avatar
Christophe Benz committed
19
20
21
22
Since there are many dependencies, when you install from sources,
you have to handle them by hand, according to your distribution.
If you still want to download them, you can uncomment the dependencies
in setup.py
Christophe Benz's avatar
Christophe Benz committed
23

Christophe Benz's avatar
Christophe Benz committed
24
25
To uninstall, remove the egg-info from the Python system-wide packages directory
and remove the weboob_dev line in easy-install.pth.
Christophe Benz's avatar
Christophe Benz committed
26

Christophe Benz's avatar
Christophe Benz committed
27

Christophe Benz's avatar
Christophe Benz committed
28
29
Development mode
----------------
Christophe Benz's avatar
Christophe Benz committed
30

Christophe Benz's avatar
Christophe Benz committed
31
32
33
The development mode doesn't copy files, but creates an egg-link
in the Python system-wide packages directory which points to the development
directory. It is useful for development when files often change.
Christophe Benz's avatar
Christophe Benz committed
34

Christophe Benz's avatar
Christophe Benz committed
35
36
37
38
# ./setup.py develop

Scripts are copied to /usr/bin too.

Christophe Benz's avatar
Christophe Benz committed
39
40
41
42
To uninstall, remove the egg-link from the Python system-wide packages directory
and remove the weboob_dev line in easy-install.pth.


Christophe Benz's avatar
Christophe Benz committed
43
# ./setup.py develop