Skip to content

Commit 6982fae

Browse files
authored
Merge pull request #514 from BubuOT/patch-1
docs: mention flit-core sdist behaviour
2 parents a452475 + da5fc0a commit 6982fae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/pyproject_toml.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,4 +417,13 @@ These paths:
417417

418418
Exclusions have priority over inclusions.
419419

420+
.. note::
421+
422+
If you are not using :ref:`build_cmd` but ``flit_core`` via another build
423+
frontend, Flit doesn't doesn't check the VCS for files to include but instead
424+
builds a 'minimal' sdist (which includes the files necessary to build a wheel).
425+
You'll have to adapt your inclusion/exclusion rules to achieve the same result
426+
as you'd get with :ref:`build_cmd`.
427+
428+
420429
.. _environment marker: https://www.python.org/dev/peps/pep-0508/#environment-markers

0 commit comments

Comments
 (0)