Skip to content

Commit 6f6c977

Browse files
pradyunsgncoghlan
authored andcommitted
Document py_modules (pypa#398)
1 parent dfb0ce5 commit 6f6c977

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

source/tutorials/distributing-packages.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ packages
299299
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
300300

301301

302-
It's required to list the :term:`packages <Import Package>` to be included
302+
It is required to list the :term:`packages <Import Package>` to be included
303303
in your project. Although they can be listed manually,
304304
``setuptools.find_packages`` finds them automatically. Use the ``exclude``
305305
keyword argument to omit packages that are not intended to be released and
@@ -427,6 +427,15 @@ keyword for pointing to pre-made scripts to install, the recommended approach to
427427
achieve cross-platform compatibility is to use :ref:`console_scripts` entry
428428
points (see below).
429429

430+
py_modules
431+
~~~~~~~~~~
432+
433+
::
434+
435+
py_modules=["six"],
436+
437+
It is required to list the names of single file modules that are to be included
438+
in your project.
430439

431440
entry_points
432441
~~~~~~~~~~~~

0 commit comments

Comments
 (0)