Update README with supported python version information. Fixes #24

This commit is contained in:
Jason Paryani
2014-01-27 16:07:09 -08:00
parent 03b290969a
commit f49af992ca

View File

@@ -35,6 +35,12 @@ Note: for OSX, if using clang from Xcode 5, you will need to set `CFLAGS` like s
CFLAGS='-stdlib=libc++' pip install pycapnp CFLAGS='-stdlib=libc++' pip install pycapnp
## Python Versions
Python 2.6/2.7 are supported as well as Python 3.2+. PyPy 2.1+ is also supported.
One oddity to note is that `Text` type fields will be treated as byte strings under Python 2, and unicode strings under Python 3. `Data` fields will always be treated as byte strings.
## Development ## Development
This project uses [git-flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/). Essentially, just make sure you do your changes in the `develop` branch. You can run the tests by installing pytest with `pip install pytest`, and then run `py.test` from the `test` directory. This project uses [git-flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/). Essentially, just make sure you do your changes in the `develop` branch. You can run the tests by installing pytest with `pip install pytest`, and then run `py.test` from the `test` directory.
@@ -130,4 +136,3 @@ Means you haven't installed the Cap'n Proto C++ library. Please follow the direc
[![Build Status](https://travis-ci.org/jparyani/pycapnp.png?branch=develop)](https://travis-ci.org/jparyani/pycapnp) [![Build Status](https://travis-ci.org/jparyani/pycapnp.png?branch=develop)](https://travis-ci.org/jparyani/pycapnp)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/jparyani/pycapnp/trend.png)](https://bitdeli.com/free "Bitdeli Badge")