equal
deleted
inserted
replaced
186 if self.install_dir.endswith('egg'): |
186 if self.install_dir.endswith('egg'): |
187 self.install_dir = sys.prefix |
187 self.install_dir = sys.prefix |
188 MyInstallMoreData.run(self) |
188 MyInstallMoreData.run(self) |
189 self.install_dir = _old_install_dir |
189 self.install_dir = _old_install_dir |
190 try: |
190 try: |
191 import setuptools.command.easy_install # only if easy_install avaible |
191 import setuptools.command.easy_install # only if easy_install available |
192 # monkey patch: Crack SandboxViolation verification |
192 # monkey patch: Crack SandboxViolation verification |
193 from setuptools.sandbox import DirectorySandbox as DS |
193 from setuptools.sandbox import DirectorySandbox as DS |
194 old_ok = DS._ok |
194 old_ok = DS._ok |
195 def _ok(self, path): |
195 def _ok(self, path): |
196 """Return True if ``path`` can be written during installation.""" |
196 """Return True if ``path`` can be written during installation.""" |