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