Upgrade for 0.2 version of capnproto C++ library

This commit is contained in:
Jason Paryani
2013-08-10 13:58:08 -07:00
parent 3ece246f23
commit 07e9d370a9
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ You can clone the repo like so:
## Requirements ## Requirements
First you need a system-wide installation of the Capnproto C++ library. All you need to do is follow the official [installation docs](http://kentonv.github.io/capnproto/install.html)]. First you need a system-wide installation of the Capnproto C++ library >= 0.2. All you need to do is follow the official [installation docs](http://kentonv.github.io/capnproto/install.html)].
Also on my ubuntu 12.10 box, I had to run `sudo ldconfig` after installation to make sure the libcapnp library was picked up by the linker. Also on my ubuntu 12.10 box, I had to run `sudo ldconfig` after installation to make sure the libcapnp library was picked up by the linker.
You also need a working version of the latest [Cython](http://cython.org/) and the latest version of setuptools. This is easily done with: You also need a working version of the latest [Cython](http://cython.org/) and the latest version of setuptools. This is easily done with:

View File

@@ -564,7 +564,7 @@ def _load(module, node, loader, name):
return local_module return local_module
def load(file_name, cat_path='/bin/cat'): def load(file_name, cat_path='/bin/cat'):
p = subprocess.Popen(['capnpc', '-o'+cat_path, file_name], stdout=subprocess.PIPE) p = subprocess.Popen(['capnp', 'compile', '-o'+cat_path, file_name], stdout=subprocess.PIPE)
retcode = p.wait() retcode = p.wait()
if retcode != 0: if retcode != 0:
raise RuntimeError("capnpc failed for some reason. Make sure `capnpc` is in your path, and that the path to cat (%s) is correct" % cat_path) raise RuntimeError("capnpc failed for some reason. Make sure `capnpc` is in your path, and that the path to cat (%s) is correct" % cat_path)

View File

@@ -12,7 +12,7 @@ from distutils.core import setup
import os import os
MAJOR = 0 MAJOR = 0
MINOR = 1 MINOR = 2
MICRO = 0 MICRO = 0
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)