News for hackers. Stuff that matters.
Re:It’s OK for your open source library to be a bit shitty (... by mroche on Sunday May 17, 2020 @12:28AM (#23209579)
Pip does not need a package to be public in order to install it at all, I’ve installed plenty of packages from tarballs and directories just fine. From the docs[0]

Install packages from:

- PyPI (and other indexes) using requirement specifiers.

- VCS project urls.

- Local project directories.

- Local or remote source archives.

Although I’m not quite sure how you’re using “for public use” in that sentence.

[0] https://pip.pypa.io/en/stable/reference/pip_install/#id19

Re:It’s OK for your open source library to be a bit shitty (... by DangitBobby on Sunday May 17, 2020 @01:51AM (#23209889)
I meant to say private use, not public use. But if I want to install from pip over the internet, which is my most common use case it needs to be publicly accessible, right? Which for me means GitHub, bitbucket, pypi, or some other bespoke solution just to avoid "publishing" something for my own private use. Or do I misunderstand?
Re:It’s OK for your open source library to be a bit shitty (... by lionyo on Sunday May 17, 2020 @04:46AM (#23210640)
You can publish to a local instance of PyPi

https://www.linode.com/docs/applications/project-management/...

Re:It’s OK for your open source library to be a bit shitty (... by DangitBobby on Sunday May 17, 2020 @05:31AM (#23210812)
I could do lots of things that would be unnecessarily burdensome for the dubious benefit of having my package unpublished. If it's acceptable to install it on a local network I can just do it directly from a normal filesystem.
Re:It’s OK for your open source library to be a bit shitty (... by JimDabell on Sunday May 17, 2020 @04:53AM (#23210658)
GitHub and Bitbucket have private repositories and you can install from those using pip. There's nothing forcing you to make something public.
Re:It’s OK for your open source library to be a bit shitty (... by DangitBobby on Sunday May 17, 2020 @05:37AM (#23210839)
I know about private repos. The hangup was installing from them. Last time I looked up how to have private python packages the the impression I got was "It's not possible." But now with a single Google search I see that it's very much possible (by using ssh). Not sure what changed other than two years have gone by.