diff options
author | Jon Rood <jon.rood@nrel.gov> | 2017-01-16 04:21:52 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-16 03:21:52 -0800 |
commit | 6e8058ad41930017c1a95cdb1620145144cf00ff (patch) | |
tree | 0ce1eb57b931140de945bb385cc6a6734787f637 | |
parent | de7be6694f8e65a0e7b5589148cfcbf162217ab9 (diff) | |
download | spack-6e8058ad41930017c1a95cdb1620145144cf00ff.tar.gz spack-6e8058ad41930017c1a95cdb1620145144cf00ff.tar.bz2 spack-6e8058ad41930017c1a95cdb1620145144cf00ff.tar.xz spack-6e8058ad41930017c1a95cdb1620145144cf00ff.zip |
Specify Python location in VisIt in a more uniform fashion. (#2803)
-rw-r--r-- | var/spack/repos/builtin/packages/visit/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py index ba1224daee..48a3762a2a 100644 --- a/var/spack/repos/builtin/packages/visit/package.py +++ b/var/spack/repos/builtin/packages/visit/package.py @@ -44,7 +44,6 @@ class Visit(Package): def install(self, spec, prefix): qt_bin = spec['qt'].prefix.bin - python_bin = spec['python'].prefix.bin with working_dir('spack-build', create=True): cmake_args = std_cmake_args[:] @@ -53,7 +52,7 @@ class Visit(Package): '-DVTK_MINOR_VERSION=1', '-DVISIT_USE_GLEW=OFF', '-DVISIT_LOC_QMAKE_EXE:FILEPATH={0}/qmake-qt4'.format(qt_bin), - '-DPYTHON_EXECUTABLE:FILEPATH={0}/python'.format(python_bin), + '-DPYTHON_DIR:PATH={0}'.format(spec['python'].prefix), '-DVISIT_SILO_DIR:PATH={0}'.format(spec['silo'].prefix), '-DVISIT_HDF5_DIR:PATH={0}'.format(spec['hdf5'].prefix), '-DVISIT_VTK_DIR:PATH={0}'.format(spec['vtk'].prefix), |