diff options
| -rw-r--r-- | docs/setuptools.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt index ce20c548..65080a0b 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -886,11 +886,11 @@ the path separator, even if you are on Windows. Setuptools automatically converts slashes to appropriate platform-specific separators at build time. If datafiles are contained in a subdirectory of a package that isn't a package -itself (no ``__init__.py``) then the subdirectory names (or ``*``) are required +itself (no ``__init__.py``), then the subdirectory names (or ``*``) are required in the ``package_data`` argument (as shown above with ``'data/*.dat'``). -When building an ``sdist`` the datafiles are also drawn from the -``package_name.egg-info/SOURCES.txt`` file so make sure that this is removed if +When building an ``sdist``, the datafiles are also drawn from the +``package_name.egg-info/SOURCES.txt`` file, so make sure that this is removed if the ``setup.py`` ``package_data`` list is updated before calling ``setup.py``. (Note: although the ``package_data`` argument was previously only available in |
