Skip to content

Commit 5eab47f

Browse files
committed
remove custom notation
1 parent e447010 commit 5eab47f

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

docs/userguide/datafiles.rst

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -360,25 +360,24 @@ Meanwhile, to further clarify the interplay between these three keywords,
360360
to include certain data file into the source distribution, the following
361361
logic condition has to be met::
362362

363-
m or (p and not e)
363+
MANIFEST.in or (package-data and not exclude-package-data)
364364

365-
In plain language, the file should be either: 1. included in ``MANIFEST.in``;
366-
or 2. selected by ``package-data`` AND not excluded by ``exclude-package-data``.
365+
In plain language, the file should be either:
366+
367+
1. included in ``MANIFEST.in``; or
368+
369+
2. selected by ``package-data`` AND not excluded by ``exclude-package-data``.
367370

368371
To include some data file into the ``.whl``::
369372

370-
(not e) and ((i and m) or p)
373+
(not exclude-package-data) and ((include-package-data and MANIFEST.in) or package-data)
371374

372-
In plain language, the file should not be excluded by ``exclude-package-data``
373-
(highest priority), and should be either: 1. selected by ``package-data``; or
374-
2. selected by ``MANIFEST.in`` AND use ``include-package-data = true``.
375+
In other words, the file should not be excluded by ``exclude-package-data``
376+
(highest priority), AND should be either:
375377

376-
**Notation**::
378+
1. selected by ``package-data``; or
377379

378-
i - "include-package-data = true" is set
379-
e - file selected by "exclude-package-data"
380-
p - file selected by "package-data"
381-
m - file included in "MANIFEST.in"
380+
2. selected by ``MANIFEST.in`` AND use ``include-package-data = true``.
382381

383382
Summary
384383
-------

0 commit comments

Comments
 (0)