Skip to content

Commit 8dfdba3

Browse files
jdemeyertheacodes
authored andcommitted
Fix data_files for user installs (#558)
1 parent 6d4ad7f commit 8dfdba3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎source/guides/distributing-packages-using-setuptools.rst‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,9 @@ Each ``(directory, files)`` pair in the sequence specifies the installation
477477
directory and the files to install there. The ``directory`` must be a relative
478478
path (although this may change in the future, see
479479
`wheel Issue #92 <https://github.com/pypa/wheel/issues/92>`_).
480-
and it is interpreted relative to the installation prefix (Python’s ``sys.prefix``).
480+
and it is interpreted relative to the installation prefix
481+
(Python’s ``sys.prefix`` for a default installation;
482+
``site.USER_BASE`` for a user installation).
481483
Each file name in ``files`` is interpreted relative to the :file:`setup.py`
482484
script at the top of the project source distribution.
483485

0 commit comments

Comments
 (0)