Upgrade to pylibmc 1.2.1!

cache_lookups is deprecated and verify_key changed names
to verify_keys.
This commit is contained in:
Neil Williams
2011-08-07 12:09:48 -07:00
parent b1acfb302c
commit ebd50c979b
2 changed files with 2 additions and 3 deletions

View File

@@ -98,10 +98,8 @@ class CMemcache(CacheUtils):
client = pylibmc.Client(servers, binary=True)
behaviors = {
'no_block': no_block, # use async I/O
'cache_lookups': True, # cache DNS lookups
'tcp_nodelay': True, # no nagle
'_noreply': int(noreply),
'verify_key': int(debug), # spend the CPU to verify keys
'ketama': True, # consistent hashing
}

View File

@@ -90,8 +90,9 @@ setup(
"PIL",
"pycaptcha",
"amqplib",
"pylibmc==1.1.1"
"pylibmc==1.2.1-dev"
],
dependency_links = ['https://github.com/downloads/reddit/pylibmc/pylibmc-1.2.1-dev.tar.gz#egg=pylibmc-1.2.1-dev',],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite = 'nose.collector',