Help to write my formula #1106
Replies: 1 comment · 6 replies
-
Do you have
? |
Beta Was this translation helpful? Give feedback.
All reactions
-
What does |
Beta Was this translation helpful? Give feedback.
All reactions
-
It's not installed on my machine. My program is only a CLI, it never ever needs any GUI library to work. I'd like What about the release btw.tar.gz, is it what the formula expects? From this tarball, this is how I would install it manually in the system:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
That's not what the
but it seems like the installation wasn't done properly. To fix this:
Your formula depends on
I'm neither a Python nor a Ruby expert, but as long as it unpacks into something that can be installed with Homebrew's |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for this neat explanation 💯 Now I get this error from the Formula:
Should I import Full debug log here:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm guessing you forgot to add:
at the top of your formula definition. For a worked example, see https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/q.rb |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to distribute my CLI python program.
To build it, I use
python -m PyInstaller btw.py
. Then the standalone is indist/btw/
. I can move this folder anywhere and call the executable in it from any place. I made a .tar.gz file of this folder and uploaded it on github as a release.Then I used
brew create https://github.com/bidetaggle/btw/archive/refs/tags/1.0.0.tar.gz
to generate the Formula. You can see it here: https://github.com/bidetaggle/homebrew-btw/blob/main/Formula/btw.rbNow if I do
brew tap bidetaggle/btw
thenbrew install btw
I get this error:Is it possible to have some guidance on this? I'm not event sure that I'm tarballing the right thing. I went through the documentation but I'm honestly confused.
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions