Change all references to old project name

This commit is contained in:
Jason Paryani
2013-09-01 01:15:31 -07:00
parent c3ae2bee67
commit f6f02a5ca5
6 changed files with 23 additions and 18 deletions

View File

@@ -7,7 +7,7 @@ This is a python wrapping of the C++ implementation of the `Cap'n Proto <http://
Capn Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Capn Proto is INFINITY TIMES faster than Protocol Buffers.
The INFINITY TIMES faster part isn't so true for python, but in some simplistic benchmarks (available in the `benchmark directory of the repo <https://github.com/jparyani/capnpc-python-cpp/tree/master/benchmark>`_), capnp has proven to be decently faster than Protocol Buffers. Also, the python capnp library can load Cap'n Proto schema files directly, without the need for a seperate compile step like with Protocol Buffers or Thrift.
The INFINITY TIMES faster part isn't so true for python, but in some simplistic benchmarks (available in the `benchmark directory of the repo <https://github.com/jparyani/pycapnp/tree/master/benchmark>`_), capnp has proven to be decently faster than Protocol Buffers. Also, the python capnp library can load Cap'n Proto schema files directly, without the need for a seperate compile step like with Protocol Buffers or Thrift.
Contents:

View File

@@ -22,7 +22,7 @@ Using pip is by far the easiest way to install the library. After you've install
pip install -U cython
pip install -U setuptools
pip install capnp
pip install pycapnp
You can control the compiler version with the environment variable CC, ie. `CC=gcc-4.8 pip install capnp`. You only need to run the setuptools line if you have a setuptools older than v0.8.0, and the cython line if you have a version older than v0.19.1.
@@ -31,12 +31,13 @@ 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/capnpc-python-cpp.git
pip install capnpc-python-cpp
git clone https://github.com/jparyani/pycapnp.git
cd pycapnp
pip install .
or::
cd capnpc-python-cpp
cd pycapnp
python setup.py install
If you don't use pip, you will need to manually install Cython, and a setuptools with a version >= .8.
@@ -44,10 +45,14 @@ If you don't use pip, you will need to manually install Cython, and a setuptools
Development
-------------------
Clone the repo from https://github.com/jparyani/capnpc-python-cpp.git and use the `develop` branch. I'll probably ask you to redo pull requests that target `master` and aren't easily mergable to `develop`::
Clone the repo from https://github.com/jparyani/pycapnp.git and use the `develop` branch. I'll probably ask you to redo pull requests that target `master` and aren't easily mergable to `develop`::
git clone https://github.com/jparyani/capnpc-python-cpp.git
git clone https://github.com/jparyani/pycapnp.git
git checkout develop
Testing is done through pytest, like so::
pip install pytest
py.test
Once you're done installing, take a look at the :ref:`quickstart`

View File

@@ -215,7 +215,7 @@ The only tricky one is unions, where you need to call `.which()` to determine th
Full Example
------------------
Here is a full example reproduced from `examples/example.py <https://github.com/jparyani/capnpc-python-cpp/blob/master/examples/example.py>`_::
Here is a full example reproduced from `examples/example.py <https://github.com/jparyani/pycapnp/blob/master/examples/example.py>`_::
from __future__ import print_function
import os