-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
54 lines (38 loc) · 997 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Building
========
Run:
./build
It will build runnable scripts in /buildout/bin/
Go to this folder and run scripts:
cd buildout/bin
./vmcontroller-host --debug
Enjoy hacking!
If the build script shows some error, make sure zc.buildout is not
installed in the host environment.
Packaging
=========
Run the following to create eggs pkgs in 'dist' folder:
sh scripts/cook-eggs.sh
Installation
============
To install egg, simply run:
easy_install <path-to-egg>
To build and install, in the root of the source module, run:
python setup.py build
python setup.py install
Building docs
=============
Install epydoc, if you don't have:
easy_install epydoc
Build API docs:
epydoc --config=docs/epydoc.cfg
The docs will be generated in /docs/api
Testing
=======
To run the tests, do:
trial tests/
For using virtualenv: (where, env is the folder name)
virtualenv --no-site-packages --distribute env
source env/bin/activate
<do whatever needs to be done>
deactivate