-
Notifications
You must be signed in to change notification settings - Fork 5
/
INSTALL.txt
62 lines (33 loc) · 1.28 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
QUICK HOWTO
===========
This package has a setuptools compatible setup.py file.
If all requirements are met, just follow the usual steps, e.g.::
python setup.py install -- to install it into the site-packages folder
Alternatively, you can run the bot directly from the directory where you get it.
Just a couple of things:
* Depends on twisted (more specificaly, twisted words) and python-pysqlite2.
* Sqlite3 has to be installed (specifically its headers).
* url.Url plugin depends on Beautiful Soup v3.1.0.1 or similar (just check that
XHTML_ENTITIES exist), python-magic and python-chardet (and twisted web, just
in case you installed a partial twisted).
BUILD STEPS
===========
For building the package without installing, choose any of the following:
a. Build the package::
python setup.py build
b. Build a binary distribution::
python setup.py bdist
c. Build a source distribution::
python setup.py sdist
d. Build an .egg file::
python setup.py bdist_egg
INSTALL STEPS
=============
For installing on a completely clean system, follow the steps (as root):
1. Install sqlite3 headers::
apt-get install libsqlite3-dev
2. Build and install the package::
python setup.py install
HOW TO RUN WITHOUT INSTALLING
=============================
Check the README file!