Revert "Merge pull request #4874 from leth/editable_install"

This reverts commit 15b89b45e1441d4d268b5cc3acca6127b4f38063, reversing
changes made to 3d836a1ab72b9b07c9159678cf26ad1e2c8d1aee.