-
-
Notifications
You must be signed in to change notification settings - Fork 675
Description
As a follow-up to #29500 (Install all Python packages via pip wheel
, store wheels in $SAGE_LOCAL/var/lib/sage/wheels
):
We create a PEP 503 compliant Simple Repository index in $SAGE_SPKG_WHEELS
. Then users can create their virtual environment using tools such as pipenv
[[source]]
or pip install --index-url
.
We do this using the command dir2pi
from https://pypi.org/project/pip2pi/
Follow-up:
- Add src/requirements.txt for installation of sagelib in a venv #30578 - Add
src/requirements.txt
for installation ofsagelib
in a venv
References:
-
Implement pep 503 Simple Repository API for deployment pytorch/pytorch#25639 "Implement pep 503 Simple Repository API for deployment"
-
https://pypi.org/project/piprepo/ - create PEP 503 package repo
-
https://pipenv-fork.readthedocs.io/en/latest/advanced.html#specifying-package-indexes
CC: @slel @tobiasdiez @embray @jhpalmieri
Component: build
Keywords: sd111
Author: Matthias Koeppe
Branch/Commit: u/mkoeppe/pep-503-simple-repository-for-wheels @ 333e50c
Reviewer: Tobias Diez
Issue created by migration from https://trac.sagemath.org/ticket/30527