diff --git a/src/doc/en/developer/coding_basics.rst b/src/doc/en/developer/coding_basics.rst index b9b871dd749..cd25a0dc629 100644 --- a/src/doc/en/developer/coding_basics.rst +++ b/src/doc/en/developer/coding_basics.rst @@ -204,7 +204,9 @@ included in one of the following places: from sage.env import SAGE_EXTCODE file = os.path.join(SAGE_EXTCODE, 'directory', 'file') -In both cases, the files must be listed (explicitly or via wildcards) in + This practice is deprecated, see :issue:`33037`. + +In all cases, the files must be listed (explicitly or via wildcards) in the section ``options.package_data`` of the file ``SAGE_ROOT/pkgs/sagemath-standard/setup.cfg.m4`` (or the corresponding file of another distribution).