fix up small typos

This commit is contained in:
Jason Paryani
2013-11-05 15:37:51 -08:00
parent 229903b87b
commit d8bb8206b9
2 changed files with 6 additions and 6 deletions

View File

@@ -1885,7 +1885,7 @@ def add_import_hook(additional_paths=[]):
import capnp import capnp
capnp.add_import_hook() capnp.add_import_hook()
import addressbook import addressbook_capnp
# equivalent to capnp.load('addressbook.capnp', 'addressbook', sys.path), except it will search for 'addressbook.capnp' in all directories of sys.path # equivalent to capnp.load('addressbook.capnp', 'addressbook', sys.path), except it will search for 'addressbook.capnp' in all directories of sys.path
:type additional_paths: list :type additional_paths: list

View File

@@ -11,15 +11,15 @@ if Cython.__version__ < '0.19.1':
import pkg_resources import pkg_resources
setuptools_version = pkg_resources.get_distribution("setuptools").version setuptools_version = pkg_resources.get_distribution("setuptools").version
if setuptools_version < '0.8': if setuptools_version < '0.8':
raise RuntimeError('Old setuptools installed (%s). Please run `pip install -U setuptools`. Running `pip install capnp` will not work alone, since setuptools needs to be upgraded before installing anything else.' % setuptools_version) raise RuntimeError('Old setuptools installed (%s). Please run `pip install -U setuptools`. Running `pip install pycapnp` will not work alone, since setuptools needs to be upgraded before installing anything else.' % setuptools_version)
from distutils.core import setup from distutils.core import setup
import os import os
MAJOR = 0 MAJOR = 0
MINOR = 3 MINOR = 4
MICRO = 14 MICRO = 0
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) VERSION = '%d.%d.%d-dev' % (MAJOR, MINOR, MICRO)
def write_version_py(filename=None): def write_version_py(filename=None):
cnt = """\ cnt = """\
@@ -54,7 +54,7 @@ setup(
'cython > 0.19', 'cython > 0.19',
'setuptools >= 0.8'], 'setuptools >= 0.8'],
# PyPi info # PyPi info
description='A cython wrapping of the C++ capnproto library', description="A cython wrapping of the C++ Cap'n Proto library",
long_description=long_description, long_description=long_description,
license='BSD', license='BSD',
author="Jason Paryani", author="Jason Paryani",