OSGeo / homebrew-osgeo4mac

Mac homebrew tap for maintaining a stable work environment for the OSGeo.org geospatial toolset
https://git.io/fhh3X
BSD 3-Clause "New" or "Revised" License
364 stars 111 forks source link

Adding Python support to Postgresql requires $PYTHON be set #1304

Closed bahoo closed 4 years ago

bahoo commented 4 years ago

Adding support for PL/Python requires $PYTHON environment variable to be set.

From when options were stripped out of many / most-all repos, they simply cut this line:

https://github.com/Homebrew/homebrew-core/commit/c55743ce2e993d3407a7f7932abfe4910a25f953#diff-c290cd53a44f82f9ba1f4d59d9f90140L57

I've tested and adding it back in works in for me. --with-python is already set.

Is which("python3") a reasonable approach here? I can get a PR together if so. But thought I'd kick it around for feedback before submitting it.

Thank you!

fjperini commented 4 years ago

@bahoo There I added that line, you check it #1306