python: add __version__

This commit is contained in:
Tatsuhiro Tsujikawa 2012-08-24 23:35:58 +09:00
parent dcba568ff9
commit 9bbd7a8a04
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ from distutils.extension import Extension
setup(
name = 'python-spdylay',
# Also update __version__ in spdylay.pyx
version = '0.1.0',
description = 'SPDY library',
author = 'Tatsuhiro Tsujikawa',

View File

@ -4,6 +4,9 @@ from libc.stdlib cimport malloc, free
from libc.string cimport memcpy, memset
from libc.stdint cimport uint8_t, uint16_t, uint32_t, int32_t
# Also update version in setup.py
__version__ = '0.1.0'
class EOFError(Exception):
pass