Skip to content

Commit 8d832cf

Browse files
dnicolodirgommers
authored andcommitted
DOC: remove questionable suggestion of installing data at run time
1 parent 2ef3eb3 commit 8d832cf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/reference/limitations.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ Limitations
1212
No data
1313
=======
1414

15-
Data, as installed by |install_data|_, is not supported.
16-
17-
We recommend you install your data inside a Python module and use
18-
:py:mod:`importlib.resources` (or the :py:mod:`importlib_resources` backport) to
19-
access it.
20-
21-
If you really need the data to be installed where it was previously (eg.
22-
``/usr/data``), you can do so at runtime.
15+
Data, as installed by |install_data|_, is not supported. It is
16+
recommended to install data files alongside the Python modules that
17+
requires them, and use :py:mod:`importlib.resources` (or the
18+
:py:mod:`importlib_resources` backport) to access it.
2319

2420

2521
Platform-specific limitations

0 commit comments

Comments
 (0)