Closed hsiaoyi0504 closed 6 years ago
Why do we need pip3 install numpy? Can't the formula be fully automatic and only rely on other brew formulas?
@UnixJunkie Actually, I don't know. As you can see in the README.md
, there is a conflict before. Maybe it's fixed now, but I don't need this feature and I don't think it's reasonable to install numpy
by homebrew
. As you can see in the documentation: https://docs.brew.sh/Python-for-Formula-Authors,
Homebrew generally won’t accept libraries that can be installed correctly with pip install foo.
OK, but then your formula should do the pip install foos itself. I.e. be fully automatic.
No, I don't think so. We should let pip
handle installation related to python
as more as possible.
Take the way cython
formula do as a reference
https://github.com/Homebrew/homebrew-core/blob/4c00e62040d56399acb0b0b7c6c87414aac76a7c/Formula/cython.rb
@mcs07 Do you have any suggestion on this ?
I mean: if you know that the user has to run 'pip install something' before 'brew install rdkit'. Then put the 'pip install something' inside your brew formula. Why require the user to do something that the formula can automatically do? This is just annoying people for no good reason.
@hsiaoyi0504 please accept my apologies if any of my previous comments was souding offensive. This was not my intention. Also, thanks for taking care of this brew formula. I'd like to help with it but I am not very often in front of a Mac. Best regards, Francois.
@UnixJunkie Thanks so much for your note. I really appreciate your kind words and it was great to hear from you.
Close, I think most of them are fixed in #61.
I will open a pull request again for also building under python 2.
As a continuous effort, I updated #57 (see original PR for more detail of the first commit) to this. Now travis test on python 2 as well.