From ec130dadb2f246e4b5e65669bd30221cfb4b3362 Mon Sep 17 00:00:00 2001 From: Marco Weber Date: Thu, 9 Jun 2022 00:51:44 +0200 Subject: Clarify glob pattern matching for dotfiles in User's Guide (#3350) --- docs/userguide/datafiles.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/userguide/datafiles.rst b/docs/userguide/datafiles.rst index e706617c..3a2ffbdf 100644 --- a/docs/userguide/datafiles.rst +++ b/docs/userguide/datafiles.rst @@ -157,6 +157,11 @@ require to be added by a revision control system plugin. the path separator, even if you are on Windows. Setuptools automatically converts slashes to appropriate platform-specific separators at build time. +.. note:: + Glob patterns do not automatically match dotfiles (directory or file names + starting with a dot (``.``)). To include such files, you must explicitly start + the pattern with a dot, e.g. ``.*`` to match ``.gitignore``. + If you have multiple top-level packages and a common pattern of data files for all these packages, for example:: -- cgit v1.2.1