From 9204807d3203a1ddae95b5e526fa49b122bd6458 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 2 Sep 2009 14:40:31 -0400 Subject: [PATCH] Bump version. Automate version transfer to setup.py. --- pyopencl/__init__.py | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index efb1da56..5dd83c22 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 90) +VERSION = (0, 90, 1) VERSION_STATUS = "" VERSION_TEXT = ".".join(str(x) for x in VERSION) + VERSION_STATUS diff --git a/setup.py b/setup.py index 00c7ec8a..265ee8a9 100644 --- a/setup.py +++ b/setup.py @@ -58,9 +58,12 @@ def main(): ext_kwargs = dict() + ver_dic = {} + execfile("pycuda/__init__.py", ver_dic) + setup(name="pyopencl", # metadata - version="0.90", + version=ver_dic["VERSION_TEXT"], description="Python wrapper for OpenCL", long_description=""" PyOpenCL lets you access GPUs and other massively parallel compute -- GitLab