-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Add which_python to utils #11204
Comments
And standardize the PYTHONPATH caveats across formulae. |
Sounds good. |
Hmm, probably needs a better name than "which_python", too. |
Great! |
I'd suggest an object which gets instantiated as "MacOS.python", which has subproperties for various things. |
@adamv excellent idea.
Further, I'd like to see an object MacOS.python3, too. |
After discussion in #14579, the idea of a
|
Nice summary, @Sharpie!
Concerning Cmake based formulae, @2bits is in my eye now the pro here :-) And I am yet undecided whether a |
Agreed that this should probably be split into several objects---a Requirement that does sanity and version checks when supplied to A few notes:
Should be something like: We should also check the Python architecture. There have been a few reports arising from people using 32-bit only distributions such as EPD. |
Let's think hard before sticking any of this in the |
If not |
I like that. Perhaps I should just start to write this :-) |
I'm going to start |
Even better! I can tweak the python side later on. |
@adamv what happened to your scripting branch? |
@adamv I'd like to continue your work. Cant find your branch, though. |
I also would like to have something similar to the That Scripting module would be a wonderful place for something like |
A good first step, I think, would be to just extract the common python stuff totally as-is into a module that is mixed into Formula. |
@adamv had it already quite nice, but the branch is gone as far as I can tell. I don't want to duplicate work. |
I don't have that branch any more, sorry. |
May I start a new attempt? |
Please do. |
@Sharpie had the great idea to write a Python requirement which could ensure that there is a |
Closing this because I am already working on this and have addresses the suggestions in my python_next branch. |
being done in --> #18588 |
Enough formulae use this:
that it is probably worth moving it into utils or something.
The text was updated successfully, but these errors were encountered: