pypa / packaging.python.org

Python Packaging User Guide
http://packaging.python.org
1.44k stars 931 forks source link

Extend "Hosting your own index" guide to provide an example for `pypiserver` use #1467

Open chrysle opened 10 months ago

chrysle commented 10 months ago

I believe pypiserver is a simple and efficient way to get an own index server running, and should deserve a recommendation and usage example. The guide is rather thin, in any case.

webknjaz commented 10 months ago

I don't think that one is popular. I'm mostly hearing of devpi and I also used dumb-pypi for static sites in the past. Also, PyPUG is probably not the right place for putting documentation of third party projects. We can link a few possibilities, but that's it.

chrysle commented 10 months ago

I don't think that one is popular.

Don't know how to assess that properly, but it's easily configurable and I thought it might be worth a paragraph.

For example, Pipenv uses it for its test suite and the Hitchhiker's Guide introduces it.

webknjaz commented 10 months ago

Okay.. It might be somewhat popular, it seems:

We use devpi in the integration tests for https://github.com/pypa/gh-action-pypi-publish, by the way.

But I still don't think that we should hosts project-specific docs within PyPUG.

chrysle commented 10 months ago

But I still don't think that we should hosts project-specific docs within PyPUG.

Then I see only the solution that never fails: We must integrate pypiserver into PyPA!

No, seriously, I wasn't aware of that guideline. We could add a paragraph comparing some of the most popular solutions, then... ?

webknjaz commented 10 months ago

I think it's common sense — why would we want to maintain (a potentially outdated/incorrect) copy somebody else's docs? It's a duplication of effort.

chrysle commented 10 months ago

I just revisited #1366 and #1367. What do you think about those?