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/develop.py | |
parent | 7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff) | |
download | python-setuptools-git-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz |
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-x | setuptools/command/develop.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py index 959c932a..fdc9fc43 100755 --- a/setuptools/command/develop.py +++ b/setuptools/command/develop.py @@ -12,6 +12,8 @@ from setuptools.command.easy_install import easy_install from setuptools import namespaces import setuptools +__metaclass__ = type + class develop(namespaces.DevelopInstaller, easy_install): """Set up package for development""" @@ -192,7 +194,7 @@ class develop(namespaces.DevelopInstaller, easy_install): return easy_install.install_wrapper_scripts(self, dist) -class VersionlessRequirement(object): +class VersionlessRequirement: """ Adapt a pkg_resources.Distribution to simply return the project name as the 'requirement' so that scripts will work across |