Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readd init files #36753

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d328913
Readd init files
tobiasdiez Nov 24, 2023
817c49c
Fix tests
tobiasdiez Nov 24, 2023
b5ffbe6
Fix linter
tobiasdiez Nov 24, 2023
fef4acf
Merge branch 'develop' into init_files
tobiasdiez Dec 6, 2023
7851141
Merge branch 'develop' into init_files
tobiasdiez Dec 10, 2023
2fe2862
Merge remote-tracking branch 'upstream/develop' into init_files
tobiasdiez Dec 19, 2023
76dfa79
Merge branch 'develop' into init_files
tobiasdiez Dec 27, 2023
d823087
Merge branch 'develop' into init_files
tobiasdiez Jan 15, 2024
7ceba8a
Merge branch 'develop' into init_files
tobiasdiez Jan 28, 2024
ae4571d
Merge branch 'develop' into init_files
tobiasdiez Feb 11, 2024
911e714
Merge branch 'develop' into init_files
tobiasdiez Feb 19, 2024
c4f21dd
Merge branch 'develop' into init_files
tobiasdiez Feb 25, 2024
020cb40
Merge remote-tracking branch 'upstream/develop' into init_files
tobiasdiez Mar 10, 2024
0b2d76f
Ignore module-not-measured error during code coverage collection
tobiasdiez Mar 10, 2024
11cb41c
Remove acidentially commited submodules
tobiasdiez Mar 10, 2024
8d2ce08
Merge remote-tracking branch 'upstream/develop' into init_files
tobiasdiez Mar 11, 2024
72ea537
Merge branch 'develop' into init_files
saraedum Mar 20, 2024
4d6e6d4
Merge branch 'develop' into init_files
dimpase Apr 7, 2024
5128873
Update __init__.py
dimpase Apr 7, 2024
21a2e5f
Update __init__.py
dimpase Apr 7, 2024
99847fc
Update __init__.py
dimpase Apr 7, 2024
641412e
Merge branch 'develop' into init_files
tobiasdiez Apr 11, 2024
d2fc9a1
Merge branch 'develop' into init_files
tobiasdiez Apr 28, 2024
2e368bc
Merge branch 'develop' into init_files
tobiasdiez May 13, 2024
911f45c
Merge branch 'develop' into init_files
dimpase Jun 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/sage/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is only here to mark the sage directory as a Python package
# (so that cython determines the correct module name)
1 change: 1 addition & 0 deletions src/sage/algebras/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/finite_dimensional_algebras/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/fusion_rings/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/hecke_algebras/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/letterplace/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/lie_algebras/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/lie_conformal_algebras/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/quantum_groups/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/quatalg/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/algebras/steenrod/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/arith/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/calculus/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/calculus/transforms/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
Empty file added src/sage/categories/__init__.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the comment is missing in this one?

Empty file.
1 change: 1 addition & 0 deletions src/sage/categories/examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/coding/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/coding/codecan/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/coding/guruswami_sudan/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/coding/source_coding/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/chas/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/cluster_algebra_quiver/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/crystals/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/designs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/matrices/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/ncsf_qsym/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/ncsym/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/path_tableaux/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/posets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/rigged_configurations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/root_system/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/sf/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/species/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/combinat/words/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/crypto/block_cipher/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/crypto/public_key/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/data_structures/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# So that cython creates the correct module names
1 change: 1 addition & 0 deletions src/sage/databases/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/dynamics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/dynamics/arithmetic_dynamics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/dynamics/cellular_automata/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/dynamics/complex_dynamics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/ext/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/functions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/game_theory/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/games/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/hyperbolic_space/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/hyperplane_arrangement/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/polyhedron/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/polyhedron/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/riemannian_manifolds/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/geometry/triangulation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/graphs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/graphs/base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/graphs/generators/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/graphs/graph_decompositions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/abelian_gps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/additive_abelian/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/affine_gps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/lie_gps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/matrix_gps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/misc_gps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/perm_gps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/perm_gps/partn_ref/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/perm_gps/partn_ref2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/groups/semimonomial_transformations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/homology/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/interacts/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/interfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/knots/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/lfunctions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
Empty file added src/sage/libs/__init__.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why the comment is missing in this one?

Empty file.
Empty file added src/sage/libs/gap/__init__.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why the comment is missing in this one?

Empty file.
1 change: 1 addition & 0 deletions src/sage/libs/mpc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/libs/mpfi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/libs/mpfr/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/libs/polybori/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/logic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/manifolds/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/manifolds/differentiable/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/manifolds/differentiable/examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/manifolds/subsets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/matrix/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Because of relative imports
1 change: 1 addition & 0 deletions src/sage/matroids/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
Empty file added src/sage/misc/__init__.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why the comment is missing in this one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Empty file.
9 changes: 3 additions & 6 deletions src/sage/misc/cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,13 @@ def cython(filename, verbose=0, compile_message=False,
....: ''')

In Cython 0.29.33 using `from PACKAGE cimport MODULE` is broken
when `PACKAGE` is a namespace package, see :trac:`35322`::
when `PACKAGE` is a namespace package, see :trac:`35322`
(but as of now sage.misc is not a namespace package, so this passes)::

sage: cython('''
....: from sage.misc cimport cachefunc
....: ''')
Traceback (most recent call last):
...
RuntimeError: Error compiling Cython file:
...
...: 'sage/misc.pxd' not found

"""
if not filename.endswith('pyx'):
print("Warning: file (={}) should have extension .pyx".format(filename), file=sys.stderr)
Expand Down
1 change: 1 addition & 0 deletions src/sage/modular/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/abvar/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/arithgroup/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/btquotients/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/hecke/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/local_comp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/modform/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/modform_hecketriangle/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/modsym/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/overconvergent/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/pollack_stevens/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/quasimodform/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/quatalg/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modular/ssmod/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modules/fg_pid/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modules/fp_graded/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modules/fp_graded/steenrod/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/modules/with_basis/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/monoids/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/numerical/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/numerical/backends/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/parallel/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/plot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/plot/plot3d/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/probability/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/quadratic_forms/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/quadratic_forms/genera/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/quivers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# To make cython create the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/asymptotic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/convert/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/finite_rings/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/function_field/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/function_field/drinfeld_modules/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/invariants/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/number_field/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/padics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/polynomial/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/polynomial/padics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/polynomial/weil/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/semirings/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/rings/valuation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/sandpiles/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/sat/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/affine/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/berkovich/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/curves/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/cyclic_covers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/elliptic_curves/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/generic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/hyperelliptic_curves/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/jacobians/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/plane_conics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/plane_quartics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/product_projective/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/projective/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/riemann_surfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/toric/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/schemes/toric/sheaf/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/sets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/stats/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/stats/distributions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/stats/hmm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/symbolic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/symbolic/integration/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/tensor/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/tensor/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/tests/books/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/topology/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
1 change: 1 addition & 0 deletions src/sage/typeset/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Here so that cython creates the correct module name
5 changes: 0 additions & 5 deletions src/sage_setup/autogen/interpreters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@ def rebuild(dirname, force=False, interpreters=None, distribution=None):
except OSError:
if not os.path.isdir(dirname):
raise
# Remove leftover file from before move to namespace packages
try:
os.remove(os.path.join(dirname, '__init__.py'))
except FileNotFoundError:
pass

# Although multiple files are generated by this function, since
# they are all generated at once it suffices to make sure if just
Expand Down
5 changes: 0 additions & 5 deletions src/sage_setup/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,6 @@ def installed_files_by_module(site_packages, modules=('sage',)):
sage: f2
'sage/structure/....pyc'

Namespace packages::

sage: files_by_module['sage.graphs.graph_decompositions']
set()

This takes about 30ms with warm cache::

sage: timeit('installed_files_by_module(site_packages)', # random output
Expand Down
Loading