File: lamson_virtual_env.txt

package info (click to toggle)
python-lamson 1.0pre11-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 3,508 kB
  • ctags: 1,036
  • sloc: python: 5,772; xml: 177; makefile: 19
file content (56 lines) | stat: -rw-r--r-- 1,645 bytes parent folder | download | duplicates (2)
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
Title: Installing Lamson Into Virtualenv With Pip


The best way to install Lamson in a virtualenv is using the "pip
tool":http://pip.openplans.org/ to install it. This will automatically fetch
the code from bazaar, install it inside the virtualenv and fetch any missing
dependencies.

First, if you haven't already, you'll need to install pip. Make sure 
you've activated the virtualenv:

<pre class="code">
. bin/activate
</pre>

from the root of the virtualenv, and then run:

<pre class="code">
easy_install -U pip
</pre>

If you have bazaar installed on your machine, then just do:

<pre class="code">
pip install -e bzr+http://bazaar.launchpad.net/~zedshaw/lamson/development/#egg lamson
</pre>

This'll install the development version of lamson into a src/lamson 
directory (src/ will be created if it doesn't exist). It will also 
install all of Lamson's dependencies into the virtualenv. If you 
want to update to the latest development version of Lamson, run:

<pre class="code">
cd src/lamson
bzr pull
</pre>

This will fetch the latest bazaar tip from Launchpad.

If you don't have bazaar installed and don't want to install it, you 
can grab the latest release of Lamson like this:

<pre class="code">
pip install -F http://launchpad.net/lamson/trunk/0.9-pre2/+download/lamson-0.9-pre2.tar.gz
</pre>

Remember though that if you do install it like this you'll need to 
manually update it by visiting Launchpad, finding the latest tarball 
URL and `pip install`ing it.


h2. Credits

These instructions were donated to Lamson by "Zachary
Voase":http://disturbyte.github.com but "contact me":/contact.html for
suggested improvements.