https://yanhuangdata.github.io/pypi/simple/
https://python-poetry.org/docs/repositories/#install-dependencies-from-a-private-repository
[[tool.poetry.source]]
name = "yh-repo"
url = "https://yanhuangdata.github.io/pypi/simple/"
pip install pyarrow --extra-index-url https://yanhuangdata.github.io/pypi/simple/
- Create link in the main
index.html
file; - Create file
{PACKAGE}/index.html
if it doesn't exist yet; - In the file {PACKAGE}/index.html add the following line:
<a href="{URL}#sha256={SHA}>{FILENAME}</a>
, where-
{URL}
is a publicly available url of the binary file (which could be hosted on S3 for example); -
{SHA}
is obtained from python scriptpython -c "import hashlib; print(hashlib.sha256(open('./path/to/your/package.whl', 'rb').read()).hexdigest())"
-
and {FILENAME} is the name of the wheel file.
-