Complete the Python3 work!

This commit is contained in:
Alex Gaynor 2014-05-10 15:33:31 -07:00
parent b09302dbbe
commit 37710c426a
5 changed files with 16 additions and 2 deletions

View File

@ -2,6 +2,9 @@ language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
install: python setup.py install
before_script: pip install nose

View File

@ -773,7 +773,7 @@ class Client(local):
# short-circuit if there are no servers, just return all keys
if not server_keys: return(mapping.keys())
for server, keys in server_keys.iteritems():
for server, keys in server_keys.items():
try:
for key in keys:
if server.readline() == 'STORED':

View File

@ -2,3 +2,6 @@
release = 1
packager = Sean Reifschneider <jafo-rpms@tummy.com>
requires = python-memcached
[wheel]
universal = 1

View File

@ -22,5 +22,13 @@ setup(name="python-memcached",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
])

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = py26,py27,py33,pypy,pep8
envlist = py26,py27,py32,py33,py34,pypy,pep8
skipsdist = True
[testenv]