Skip to content

Commit 92ad6e1

Browse files
committed
Clarify the transition from Pipenv to packaging an application
1 parent 5b31c28 commit 92ad6e1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎source/tutorials/managing-dependencies.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ development environments on a collaborative Python project! ✨ 🍰 ✨
145145
If you're interested in creating and distributing your own Python packages, see
146146
the :doc:`packaging tutorial <packaging-projects>`.
147147

148+
You can follow the packaging tutorial on its own. If you're packaging an
149+
application from this tutorial, keep ``Pipfile.lock`` for recreating the
150+
application environment. Declare the dependencies that consumers of your
151+
package need in :ref:`the project's package metadata <pyproject-toml-dependencies>`.
152+
Hatchling reads that metadata from ``pyproject.toml``. It does not use the
153+
Pipenv lock file to populate the wheel's dependency metadata.
154+
148155
Note that when your application includes definitions of Python source packages,
149156
they (and their dependencies) can be added to your ``pipenv`` environment with
150157
``pipenv install -e <relative-path-to-source-directory>`` (e.g.

0 commit comments

Comments
 (0)