Skip to content

Commit

Permalink
Explicitly say we want python from path
Browse files Browse the repository at this point in the history
I sometimes see pybind11 pick up /usr/local/bin/python even
though the anaconda python is ahead of the path. This change
to the eupspkg file forces it to use "python" from PATH.
  • Loading branch information
timj committed Aug 31, 2018
1 parent 6703797 commit 4529e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ups/eupspkg.cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

config()
{
(rm -rf build && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ..)
(rm -rf build && mkdir build && cd build && cmake -DPYTHON_EXECUTABLE:FILEPATH=$(command -v python) -DCMAKE_INSTALL_PREFIX=$PREFIX ..)
}

build()
Expand Down

0 comments on commit 4529e5f

Please sign in to comment.