Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

correct site-packages for pypy in 2nd location

  • Loading branch information...
commit b7cca4e5052fcd0afb5a1b3abf9cb3618172e3d2 1 parent aa20274
Marcus Smith authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 tests/test_pip.py
5 tests/test_pip.py
@@ -322,7 +322,10 @@ def __init__(self, environ=None, use_distribute=None, sitecustomize=None):
322 322
323 323 assert self.venv == TestPipEnvironment.venv # sanity check
324 324
325   - self.site_packages = self.lib/'site-packages'
  325 + if hasattr(sys, "pypy_version_info"):
  326 + self.site_packages = self.venv/'site-packages'
  327 + else:
  328 + self.site_packages = self.lib/'site-packages'
326 329 self.user_base_path = self.venv_path/'user'
327 330 self.user_site_path = self.venv_path/'user'/site_packages_suffix
328 331

0 comments on commit b7cca4e

Please sign in to comment.
Something went wrong with that request. Please try again.