summaryrefslogtreecommitdiff
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-06-03 09:50:25 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-06-03 09:50:25 -0400
commitcca86c7f1d4040834c3265ccecdd9e21b4036df5 (patch)
tree6952f93a45a95659d36a93072e915688ca253a85 /setuptools/command/develop.py
parent7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff)
downloadpython-setuptools-git-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-xsetuptools/command/develop.py4
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