-
Notifications
You must be signed in to change notification settings - Fork 72
/
INSTALL
38 lines (24 loc) · 1000 Bytes
/
INSTALL
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
See README for more information.
To just install this as quickly as possible, using a Debian or Ubuntu
system, run the following as root:
apt-get install python-setuptools python-twisted python-ipaddress graphviz
python setup.py install
It's recommended to use a virtualenv (see below), but on OSX (and
assuming homebrew is installed):
brew install geoip
pip install -r requirements.txt
pip install -r dev-requirements.txt
Or, instead of installing locally, simply:
export PYTHONPATH=.
If you want to take slightly more time, but only install temporarily,
use virtualenv:
apt-get install python-setuptools python-pip
mkdir tmp
virtualenv tmp/txtorcon_env
cd tmp/txtorcon_env
source bin/activate
pip install --editable . # this will download from internets:
(Or you can type "make virtualenv" which creates tmp/txtorcon_env, up
to the "activate" step above)
Now, this should work (where "work" means "prints nothing"):
python -c "import txtorcon"