backport to python 2.6, add it travis platforms and to pypi metadata

This commit is contained in:
Thomas Waldmann 2013-12-12 01:27:36 +01:00
parent 5f28b56b9f
commit b9c48e5af7
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
language: python
python:
- "2.6"
- "2.7"
- "pypy"
install:

View File

@ -64,7 +64,7 @@ def _get_elementdict(dct, basename, excluded=None):
if excluded is None:
excluded = set()
names = set(dct) - set(excluded)
return {basename + name: dct[name] for name in names}
return dict((basename + name, dct[name]) for name in names)
def _build_request_info(request):

View File

@ -65,6 +65,7 @@ setup(
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: Name Service (DNS)',
],