diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pymol/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pymol/package.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-pymol/package.py b/var/spack/repos/builtin/packages/py-pymol/package.py index 66f28e8e5c..3e3ab85a26 100644 --- a/var/spack/repos/builtin/packages/py-pymol/package.py +++ b/var/spack/repos/builtin/packages/py-pymol/package.py @@ -48,10 +48,7 @@ class PyPymol(PythonPackage): binpath = self.prefix.bin mkdirp(self.prefix.bin) fname = join_path(binpath, 'pymol') - script = join_path(self.prefix, - self.spec['python'].package.site_packages_dir, - 'pymol', - '__init__.py') + script = join_path(python_platlib, 'pymol', '__init__.py') shebang = '#!/bin/sh\n' fdata = 'exec {0} {1} \"$@\"'.format(self.spec['python'].command, |