diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-06-03 09:50:25 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-06-03 09:50:25 -0400 |
commit | cca86c7f1d4040834c3265ccecdd9e21b4036df5 (patch) | |
tree | 6952f93a45a95659d36a93072e915688ca253a85 /setuptools/command/easy_install.py | |
parent | 7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff) | |
download | python-setuptools-git-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz |
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index a059a0bd..05508ceb 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -63,6 +63,8 @@ from pkg_resources import ( ) import pkg_resources.py31compat +__metaclass__ = type + # Turn on PEP440Warnings warnings.filterwarnings("default", category=pkg_resources.PEP440Warning) @@ -2050,7 +2052,7 @@ class WindowsCommandSpec(CommandSpec): split_args = dict(posix=False) -class ScriptWriter(object): +class ScriptWriter: """ Encapsulates behavior around writing entry point scripts for console and gui apps. |