diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-11-24 11:35:27 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-11-24 11:35:27 -0500 |
commit | c23be8f034d8600191decd7e843ae93619d15298 (patch) | |
tree | 0cd85edabeb083abee9d857995aa497121a2b283 /setuptools/command/develop.py | |
parent | f4576e373b51fab07eec7f6f2cde3ffa2e04f6c0 (diff) | |
download | external_python_setuptools-c23be8f034d8600191decd7e843ae93619d15298.tar.gz external_python_setuptools-c23be8f034d8600191decd7e843ae93619d15298.tar.bz2 external_python_setuptools-c23be8f034d8600191decd7e843ae93619d15298.zip |
Adapt the dist to suppress the version in the requirement when installing scripts under the develop command. Fixes #439.
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-x | setuptools/command/develop.py | 4 |
1 files changed, 4 insertions, 0 deletions
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): """ |