Added better docs for installation

* Xcode 5 instructions
* changed from using `pip install .` to `pip install ./pycapnp`
* Added note about using 0.4.x versions of libcapnp
This commit is contained in:
Jason Paryani
2013-10-02 00:34:26 -07:00
parent 5c99738674
commit 37f0dc4a55
2 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ More thorough docs are available at [http://jparyani.github.io/pycapnp/](http://
## Requirements
First you need a system-wide installation of the Cap'n Proto C++ library >= 0.3. Follow the [official installation docs](http://kentonv.github.io/capnproto/install.html) or for the lazy:
First you need a system-wide installation of the Cap'n Proto C++ library == 0.3.x. .0.4.x currently requires a branch of pycapnp, accessible with `git checkout feature/v0.4` in a git clone of pycapnp. Follow the [official installation docs](http://kentonv.github.io/capnproto/install.html) or for the lazy:
```bash
curl -O http://capnproto.org/capnproto-c++-0.3.0.tar.gz
@@ -29,8 +29,11 @@ Install with `pip install pycapnp`. You can set the CC environment variable to c
Or you can clone the repo like so:
git clone https://github.com/jparyani/pycapnp.git
pip install ./pycapnp
`cd` into the repo directory and run `pip install .`
Note: for OSX, if using clang from Xcode 5, you will need to set `CFLAGS` like so:
CFLAGS='-stdlib=libc++' pip install pycapnp
## Development

View File

@@ -36,8 +36,7 @@ From Source
If you want the latest development version, you can clone the github repo and install like so::
git clone https://github.com/jparyani/pycapnp.git
cd pycapnp
pip install .
pip install ./pycapnp
or::