Brew: Keg-Only Caveat Python3

Created on 18 May 2016  路  5Comments  路  Source: Homebrew/brew

Hi,

as mentioned in https://github.com/Homebrew/homebrew-science/issues/3667 keg-only formulas which build python modules show a message how you can link the generated python modules.

If you need Python to find bindings for this keg-only formula, run:
  echo /usr/local/opt/opencv3/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/opencv3.pth

This message only appears for python2.x. The opencv3 formula can be build with python3 support but no message appears. If you disable the python2 build (like brew install opencv3 --without-python --with-python3) you get no message at all.

The current Implementation only handles python2. Wouldn't it make sense to show a similar message when building python3 modules? Or should this be handled by the formular directly? I couldn't find any documentation on this.

Most helpful comment

I'm working on this but the details are annoying and I don't like my solution yet; within the next week, for sure.

All 5 comments

CC @tdsmith for thoughts.

It would make sense!

If this is still broken for you: we'll accept PRs for this but we're not actively working on it at this time.

I'm working on this but the details are annoying and I don't like my solution yet; within the next week, for sure.

@tdsmith Any news on this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hktalent picture hktalent  路  4Comments

paanvaannd picture paanvaannd  路  4Comments

rtobrien picture rtobrien  路  3Comments

JaKXz picture JaKXz  路  3Comments

Rotonen picture Rotonen  路  4Comments