Metaticket: Make sagelib pipinstallable in a conda environment
The goal of this ticket is to make sagelib (i.e., subdirectory SAGEROOT/src
) pipinstallable when all required packages are provided by the conda distribution  just through SAGEROOT/src/setup.py
and completely bypassing all sagethedistribution scripts (toplevel SAGEROOT/Makefile
and SAGEROOT/build
.
In Sage 9.2, this already works after ./configure
.
Tickets merged in Sage 9.2 or earlier:
 #21559: Move sagethedistribution scripts from src/bin to build/bin
 #21569: Install
src/bin/*
scripts via setup.py
(scripts
, console_scripts
)
 #21785: Installation of
SAGE_SRC/ext/
in SAGE_LOCAL/share/sage/ext/
should be done by setup.py
, not build/make/Makefile
Additional steps for Sage 9.3:
 #28745: Add
SAGEROOT/src/environment.yml
 describes all conda packages needed for installing sagelib for doing sagelib development (this is a superset of SAGEROOT/environment.yml
, also introduced in #28745)
 #30845 GH Actions: Add test for conda without SPKG
 #29850 Install
sageenvconfig
as part of sage_conf
; make sageenvconfig
optional
 #21707: Metaticket: Split
sageenv
into 5 to clean up sage configuration
Optional steps:
 #21570: Move nonscripts of
src/bin/
elsewhere (and also move their install location)
 #21573: Make sure src/setup.py respects installbase and root
 #21654:
src/setup.py
: Disentangle cleaning of stale installed files in build directory and in install directory
 #21678: Testsuite for
src/setup.py
 #22655: Support
package_data
like of nonPython resource files in Python packages
 #23747: Rename
SAGE_ROOT/build
to SAGE_ROOT/sagedistro
, SAGE_ROOT/src
to SAGE_ROOT/sagelib
(see also earlier task ticket #21507: Make sagelib a pipinstallable Python source package, listed on PyPI.)
Change History (21)
Cc: 
Timo Kaufmann Travis Scrimshaw added

Description: 
modified (diff)

Milestone: 
sage9.0 →
sage9.1

Keywords: 
Anaconda removed

Milestone: 
sage9.1 →
sage9.2

Milestone: 
sage9.2 →
sage9.3

Description: 
modified (diff)

Description: 
modified (diff)

Description: 
modified (diff)

Description: 
modified (diff)

Description: 
modified (diff)

Summary: 
Make sagelib pipinstallable in a conda environment →
Metaticket: Make sagelib pipinstallable in a conda environment

Description: 
modified (diff)

Description: 
modified (diff)

Milestone: 
sage9.3 →
sage9.4

Milestone: 
sage9.4 →
sage9.5

Milestone: 
sage9.5 →
sage9.6

Milestone: 
sage9.6 →
sage9.7

Milestone: 
sage9.7 →
sage9.8

Ticket retargeted after milestone closed