Permalink
Browse files

set VERSION

  • Loading branch information...
1 parent 95a525d commit a6abd2de3706e0e73fc62eb001606f783c27e98b @hongqn committed Feb 28, 2012
Showing with 5 additions and 2 deletions.
  1. +2 −0 oursql/__init__.py
  2. +3 −2 setup.py
View
@@ -5,6 +5,8 @@
from .util import setdocstring
+VERSION = '0.1'
+
__all__ += ['DATETIME']
@setdocstring(pymysql.Connect)
View
@@ -1,5 +1,6 @@
-import sys, os
+import os
from setuptools import setup, find_packages
+from oursql import VERSION
install_requires = [
'umysql',
@@ -11,7 +12,7 @@
description = "MySQLdb compatible wrapper for ultramysql",
long_description = open(os.path.join(os.path.dirname(__file__),
'README.rst')).read(),
- version = '0.1',
+ version = VERSION,
packages = find_packages(exclude=['examples', 'tests']),
install_requires = install_requires,
author = "Qiangning Hong",

0 comments on commit a6abd2d

Please sign in to comment.