Update README with supported python version information. Fixes #24
This commit is contained in:
@@ -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
|
|||||||
|
|
||||||
|
|
||||||
[](https://travis-ci.org/jparyani/pycapnp)
|
[](https://travis-ci.org/jparyani/pycapnp)
|
||||||
[](https://bitdeli.com/free "Bitdeli Badge")
|
|
||||||
Reference in New Issue
Block a user