-
-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #33011: Remove __init__.py files for subpackages designated to b…
…e namespace packages This ticket changes the following packages to namespace packages (by removing `__init__.py`): - `sage.matrix` (this allows the new distribution `sage-meataxe` introduced in #30151 to add the module `sage.matrix.matrix_gfpn_dense`) to the package) - `sage.libs` (for `.meataxe` - #30151, `.sirocco`, `.coexter3`, `.fes`) - `sage.interfaces` (for `.primecount`) - `sage.graphs` (for `.bliss`, `.mcqd`) - `sage.graphs.graph_decompositions` (for `.tdlib` -> `sage-tdlib`, #29864.) - `sage.numerical`, `sage.numerical.backends`. (This is preparation for later work, in #30152.) A complication lies in the behavior of the Python import machinery: `setup.py` puts the source path in front of `setup.py` because `sage_setup` uses `sage.env` and `is_package_or_sage_namespace_package_dir` (#33033). But when an old version of `sage` that is an ordinary package is installed already, the source will not shadow it. To avoid this complication, in this ticket we do not yet remove `src/sage/__init__.py`. That is done in #34187. URL: https://trac.sagemath.org/33011 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Kwankyu Lee
- Loading branch information
Showing
16 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
File renamed without changes.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters