Skip to content

Commit

Permalink
Document pyproject.toml support
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Apr 13, 2024
1 parent 30f7fcc commit 51e7980
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ In ``hello/__init__.py``, ``six`` can be imported from ``_vendor``:
from ._vendor import six
The configuration can also be stored in ``pyproject.toml`` instead of ``vendorize.toml``.
When using ``pyproject.toml``, the configuration should be stored in ``[tool.vendorize]``.
For instance:

::

[tool.vendorize]
target = "hello/_vendor"
packages = [
"six",
]

Installation
~~~~~~~~~~~~

Expand Down

0 comments on commit 51e7980

Please sign in to comment.