Skip to content

Commit b84e904

Browse files
committed
(#72) setup.py will now pull the version number directly from memcache.py (using setuptools.depends.get_module_constant) in order to prevent discrepancies
1 parent 37f55ca commit b84e904

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

memcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def useOldServerHashFunction():
9090

9191
# Original author: Evan Martin of Danga Interactive
9292
__author__ = "Sean Reifschneider <[email protected]>"
93-
__version__ = "1.57"
93+
__version__ = "1.58"
9494
__copyright__ = "Copyright (C) 2003 Danga Interactive"
9595
# http://en.wikipedia.org/wiki/Python_Software_Foundation_License
9696
__license__ = "Python Software Foundation License"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/usr/bin/env python
22

3+
from setuptools.depends import get_module_constant
34
from setuptools import setup # noqa
45

56

67
setup(name="python-memcached",
7-
version="1.58",
8+
version=get_module_constant('memcache', '__version__'),
89
description="Pure python memcached client",
910
long_description=open("README.md").read(),
1011
author="Evan Martin",

0 commit comments

Comments
 (0)