From c23be8f034d8600191decd7e843ae93619d15298 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 24 Nov 2015 11:35:27 -0500 Subject: Adapt the dist to suppress the version in the requirement when installing scripts under the develop command. Fixes #439. --- setuptools/command/develop.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setuptools/command') diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py index 0959d937..360872fc 100755 --- a/setuptools/command/develop.py +++ b/setuptools/command/develop.py @@ -168,6 +168,10 @@ class develop(easy_install): f.close() self.install_script(dist, script_name, script_text, script_path) + def install_wrapper_scripts(self, dist): + dist = VersionlessRequirement(dist) + return super(develop, self).install_wrapper_scripts(dist) + class VersionlessRequirement(object): """ -- cgit v1.2.1