News for hackers. Stuff that matters.
Re:Bundling binary tools in Python wheels by jononor on Saturday June 18, 2022 @04:06AM (#31788069)
That's great! It could be used to avoiding needing multi stage builds in Docker when using JS frontend in a Python app. Assuming pip uninstall nodejs-bin work cleanly one also has easy way of keeping the image slim by uninstalling after frontend build.
Re:Bundling binary tools in Python wheels by samwillis on Saturday June 18, 2022 @06:41AM (#31788713)
Thanks!

Yes, "pip uninstall nodejs-bin" will remove the full nodejs install from your python environments site_packages. It won't remove node_packages however, you will still need to handle that yourself depending on use case.