Commits

Stan Seibert committed d86afd8

Use separate pip build directory for each dependency

  • Participants
  • Parent commits 6f4bf38

Comments (0)

Files changed (1)

shrinkwrap/install.py

         if build_deps is None:
             build_deps = []
         for dep in build_deps:
-            self.shell('pip install '+dep)
+            build_dir = os.path.join(self.virtualenv, 'build', 'build_' + dep)
+            self.shell('pip install -b ' + build_dir + ' ' + dep)
 
         # Do the install process for this package
         installer = self.distribution.shrinkwrap_installer