Created
April 24, 2011 08:59
-
-
Save bradleyayers/939416 to your computer and use it in GitHub Desktop.
Patch for copy_to_build_dir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def copy_to_build_dir(self, req_to_install): | |
target_dir = req_to_install.editable and self.src_dir or self.build_dir | |
logger.info("Copying %s to %s" % (req_to_install.name, target_dir)) | |
dest = os.path.join(target_dir, req_to_install.name) | |
copytree(req_to_install.source_dir, dest) | |
call_subprocess(["python", "%s/setup.py" % dest, "clean"], | |
cwd=dest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment