diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/qscintilla/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/qscintilla/package.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/qscintilla/package.py b/var/spack/repos/builtin/packages/qscintilla/package.py index 5c1cd35766..57e954b168 100644 --- a/var/spack/repos/builtin/packages/qscintilla/package.py +++ b/var/spack/repos/builtin/packages/qscintilla/package.py @@ -87,10 +87,7 @@ class Qscintilla(QMakePackage): pyqtx = 'PyQt5' with working_dir(join_path(self.stage.source_path, 'Python')): - pydir = join_path( - self.prefix, - self.spec['python'].package.site_packages_dir, - pyqtx) + pydir = join_path(python_platlib, pyqtx) mkdirp(os.path.join(self.prefix.share.sip, pyqtx)) python = self.spec['python'].command python('configure.py', '--pyqt=' + pyqtx, @@ -144,7 +141,7 @@ class Qscintilla(QMakePackage): module = self.spec['py-sip'].variants['module'].value if module != 'sip': module = module.split('.')[0] - with working_dir(site_packages_dir): + with working_dir(python_platlib): with open(os.path.join(module, '__init__.py'), 'w') as f: f.write('from pkgutil import extend_path\n') f.write('__path__ = extend_path(__path__, __name__)\n') |