diff options
author | D.B. Tsai <dbtsai@dbtsai.com> | 2012-08-22 16:45:53 -0700 |
---|---|---|
committer | D.B. Tsai <dbtsai@dbtsai.com> | 2012-08-27 20:02:35 -0700 |
commit | 694ff00b2e7362ce2b128d7d02c7ccc2852300c2 (patch) | |
tree | c5ddfa0e9e413d279305b5c88d024c393e27d40d /setup.py | |
parent | 82a8d0ea03833ad5fe779868437fa4c9811a7c78 (diff) | |
download | python-mimeparse-694ff00b2e7362ce2b128d7d02c7ccc2852300c2.tar.gz |
Fixed ``has_key()`` which is deprecated in python3.
Also cleaned up several PEP8 warnings.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,7 @@ -# -*- coding: utf-8 -*- + +# -*- coding: utf-8 -*- -#old way +#old way from distutils.core import setup #new way @@ -11,7 +12,7 @@ setup(name='mimeparse', description='A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges.', long_description=""" This module provides basic functions for handling mime-types. It can handle -matching mime-types against a list of media-ranges. See section 14.1 of +matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1 @@ -30,7 +31,7 @@ Contents: 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', - ], + ], keywords='mime-type', author='Joe Gregorio', author_email='joe@bitworking.org', @@ -41,4 +42,3 @@ Contents: py_modules=['mimeparse'], zip_safe=True, ) - |