Help packaging a python-based tool #6953
-
|
I've packaged my python app jobhound, and I'm not entirely happy with how it installs. I seems to pull down a lot more dependencies than other brew formulae and takes a looong time to install. This is what the install looks like: The formula is here: https://github.com/yo61/homebrew-tap/blob/main/Formula/jobhound.rb Am I doing something wrong, or is this expected behaviour? R. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
That is expected behaviour for a source build. If you made the tap using |
Beta Was this translation helpful? Give feedback.
-
|
The answer was to use brew tap-new and build bottles, as documented at https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap I'm now banging my head on the recently-added release cooldown feature. But I'll deal with that separately. |
Beta Was this translation helpful? Give feedback.
-
|
Following up on this. The bottle install takes under 1.5 secs vs the 115 seconds of the original src install! That's a 76.7x speed up, a 98.7% reduction in installation time, nearly 2 orders of magnitude faster! Thanks for pointing me in the right direction. R. |
Beta Was this translation helpful? Give feedback.
The answer was to use brew tap-new and build bottles, as documented at https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap
I'm now banging my head on the recently-added release cooldown feature.
But I'll deal with that separately.