Opened 2 years ago
Last modified 2 years ago
#29701 closed enhancement
Meta-ticket: Replace use of OptionalExtension by namespace packages — at Version 9
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | sage-9.2 |
Component: | refactoring | Keywords: | |
Cc: | fbissey, isuruf, vdelecroix, dcoudert, dimpase, gh-kliem, vbraun | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Currently, a user would install, for example, the optional package tdlib
and then rebuild sagelib
so that the OptionalExtension
sage.graphs.graph_decompositions.tdlib
is built and installed.
With this ticket, the user would instead install a new optional package sage_tdlib
(which has tdlib
as a dependency); this installs the Extension
sage.graphs.graph_decompositions.tdlib
(as a namespace package).
Preparation:
- #28925 Modify
find_python_sources
,clean_stale_files
to support modularization of sagelib by native namespace packages (PEP 420) - Map installed packages/features to virtual
distributions
(for example,tdlib
->sage-tdlib
), replacemodule_list.py
and theOptionalExtension
mechanism by passingdistributions
tofind_python_sources
. - Remove empty
__init__.py
files to convert packages to native namespace packages - #29702 Move all code from
src/setup.py
tosage_setup
Tickets for individual OptionalExtension
s (see src/module_list.py
):
sage.graphs.mcqd
sage.graphs.bliss
sage.graphs.graph_decompositions.tdlib
(used as an example in #28925)sage.interfaces.primecount
(how come this is not insage.libs
, whereprimecount.pxd
lives?)sage.libs.coxeter3.coxeter
sage.libs.fes
sage.libs.sirocco
sage.libs.meataxe
,sage.matrix.matrix_gfpn_dense
Change History (9)
comment:1 Changed 2 years ago by
- Description modified (diff)
- Summary changed from Replace use of OptionalExtension by namespace packages to Meta-ticket: Replace use of OptionalExtension by namespace packages
comment:2 Changed 2 years ago by
- Description modified (diff)
comment:3 Changed 2 years ago by
- Cc vdelecroix dcoudert dimpase added
- Description modified (diff)
comment:4 Changed 2 years ago by
- Description modified (diff)
comment:5 Changed 2 years ago by
- Description modified (diff)
comment:6 Changed 2 years ago by
- Description modified (diff)
comment:7 Changed 2 years ago by
- Description modified (diff)
comment:8 Changed 2 years ago by
- Description modified (diff)
comment:9 Changed 2 years ago by
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.