Skip to content

Commit

Permalink
Merge pull request #514 from BubuOT/patch-1
Browse files Browse the repository at this point in the history
docs: mention flit-core sdist behaviour
  • Loading branch information
takluyver authored Jan 20, 2022
2 parents a452475 + da5fc0a commit 6982fae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/pyproject_toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -417,4 +417,13 @@ These paths:

Exclusions have priority over inclusions.

.. note::

If you are not using :ref:`build_cmd` but ``flit_core`` via another build
frontend, Flit doesn't doesn't check the VCS for files to include but instead
builds a 'minimal' sdist (which includes the files necessary to build a wheel).
You'll have to adapt your inclusion/exclusion rules to achieve the same result
as you'd get with :ref:`build_cmd`.


.. _environment marker: https://www.python.org/dev/peps/pep-0508/#environment-markers

0 comments on commit 6982fae

Please sign in to comment.