-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
(For more information about this issue, please see #194).
We need a short section to follow the section about making a distribution package (see #202) (i.e., as its own file) that will guide the reader through making a bare module or (import) package ready for installing with pip (and, in the following section, publishing on PyPI). The section should satisfy these goals:
- show how to make a
setup.pyfile that usessetup() - briefly acquaint the reader with friendly practices such as including a
READMEfile, a license, and using a PEP 440-compliant versioning scheme (link generously to resources that cover these things in detail) show how to install the package in editable/develop mode- show how to create an sdist and wheel
- show how to test that the package is, in fact, installable
- show the work in the context of a virtual environment (as this will have been covered in the previous section)
Please note that this section should not assume the reader already has modules to package (so provide some short sample code where applicable). Also, don't cover publishing the package to PyPI or elsewhere—that's going to be covered in the next tutorial section.
When opening pull requests for this issue, please submit to the develop branch. If you have questions that concern contributing more generally, please use issue #194. Otherwise, feel free to comment with questions or feedback. Thanks!