0
プライベートなpypiサーバーを構築していますが、動作していますが、公式のpypiの要件がありますが、プライベートパッケージをインストールしようとするとinstall_requires
私の私的なリポジトリ内の外部依存関係を見つけようとしています(私はこれをログで見ました)。プライベートpypiのパッケージには要件がありません
私はローカルでパッケージを生成し、それが動作し、依存関係は、公式は、PyPIリポジトリで発見され
pip install -U package.tar.gz
のようにインストールしてみてください。
私は何が間違っていますか?
私のプロセスは次のようになります。
python setup.py sdist upload -r http://127.0.0.1:8000/sample/
pip install -i http://127.0.0.1:8000/pypi/
そして私は取得しています:
Downloading/unpacking mypackage
http://127.0.0.1:8000/pypi/mypackage/ uses an insecure transport scheme (http). Consider using https if 127.0.0.1:8000 has it available
Downloading mypackage-1.0.tar.gz (399kB): 399kB downloaded
Running setup.py (path:/tmp/pip-build-LjFfGj/mypackage/setup.py) egg_info for package mypackage
Downloading/unpacking feedparser (from mypackage)
http://127.0.0.1:8000/pypi/feedparser/ uses an insecure transport scheme (http). Consider using https if 127.0.0.1:8000 has it available
Could not find any downloads that satisfy the requirement feedparser (from mypackage)
Cleaning up...
No distributions at all found for feedparser (from mypackage)
Storing debug log for failure in /home/rodolpho/.pip/pip.log
そして、私が見たログ内を:
Downloading/unpacking feedparser (from mypackage)
Getting page http://127.0.0.1:8000/pypi/feedparser/
Could not fetch URL http://127.0.0.1:8000/pypi/feedparser/: 404 Client Error: Not Found
あなたの 'pip install'コマンドに' --extra-index-url https:// pypi.python.org/pypi'を追加してみてください。 [here](https://pip.pypa.io/en/stable/reference/pip_wheel/#cmdoption--extra-index-url)を参照してください。 –
@ AlbertoGarcia-Raboso、ありがとうございます。 –
素晴らしい!私は答えとして私のコメントを追加します。 –