Forgot to write version file

This commit is contained in:
Jason Paryani
2013-07-07 00:12:15 -07:00
parent 65606edb0f
commit 16fcc393c2

View File

@@ -9,13 +9,13 @@ if Cython.__version__ < '0.19.1':
raise RuntimeError('Old cython installed. Please run `pip install -U cython`')
from distutils.core import setup
import os
MAJOR = 0
MINOR = 1
MICRO = 0
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
def write_version_py(filename=None):
cnt = """\
version = '%s'
@@ -31,6 +31,8 @@ short_version = '%s'
finally:
a.close()
write_version_py()
setup(
name="capnp",
version=VERSION,