Bug 1427062 - Adding Python 3 support for mozinstall. r=wlach
MozReview-Commit-ID: I3hiQdN1u79
--- a/testing/mozbase/mozinstall/setup.py
+++ b/testing/mozbase/mozinstall/setup.py
@@ -4,17 +4,17 @@
from __future__ import absolute_import
import os
from setuptools import setup
try:
here = os.path.dirname(os.path.abspath(__file__))
- description = file(os.path.join(here, 'README.md')).read()
+ description = open(os.path.join(here, 'README.md')).read()
except IOError:
description = None
PACKAGE_VERSION = '1.14'
deps = ['mozinfo >= 0.7',
'mozfile >= 1.0',
'requests',
@@ -28,17 +28,17 @@ setup(name='mozInstall',
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 2 :: Only'],
+ 'Programming Language :: Python :: 3'],
keywords='mozilla',
author='Mozilla Automation and Tools team',
author_email='tools@lists.mozilla.org',
url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase',
license='MPL 2.0',
packages=['mozinstall'],
include_package_data=True,
zip_safe=False,