4 ms·
Why can’t you ask people to directly install from GitHub repo and skip publishing on PyPI? Curious to know.
by kjok 3y ago
Why can’t you ask people to directly install from GitHub repo and skip publishing on PyPI? Curious to know.
- IshKebab 3y agoYou can, but it's not nearly as nice and it also builds the package from source instead of installing a pre-built binary which can be a lot slower.
- kjok 3y agoBuilding from source will be slower, but GitHub allows you to publish a package as a well.
- IshKebab 3y agoDoes pip support installing that? Can you specify dependencies in `pyproject.toml` to be binaries from GitHub? Genuinely asking.
- miketheman 3y agoCheck out https://chrisholdgraf.com/blog/2022/install-github-from-pyproject/ https://chrisholdgraf.com/blog/2022/install-github-from-pypr... which breaks down a few ways to to this.