diff options
| author | Tres Seaver <tseaver@palladion.com> | 2024-02-07 12:24:11 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2024-02-07 12:24:11 -0500 |
| commit | 94d5ce60c783eed483d2fff49a6470b066430bfb (patch) | |
| tree | ac81f7577d873d1f667c34148cb6764865290720 /docs/tutorials/wiki/basiclayout.rst | |
| parent | 13909fa1c603028109039e48af096ac4676a0010 (diff) | |
| download | pyramid-94d5ce60c783eed483d2fff49a6470b066430bfb.tar.gz pyramid-94d5ce60c783eed483d2fff49a6470b066430bfb.tar.bz2 pyramid-94d5ce60c783eed483d2fff49a6470b066430bfb.zip | |
docs: update ZODB wiki tutorial to cookiecutter
- Describe 'pyproject.toml' usage (replacing 'setup.py', 'pytest.ini',
'.coveragerc').
- Document the new PyPA-blessed build process.
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index c1c762ae4..01d366e7b 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -15,7 +15,7 @@ Even if empty, this marks a directory as a Python package. We use ``__init__.py`` both as a marker, indicating the directory in which it is contained is a package, and to contain application configuration code. When you run the application using the ``pserve`` command using the ``development.ini`` generated configuration file, the application configuration points at a :term:`Setuptools` :term:`entry point` described as ``egg:tutorial``. -In our application, because the application's ``setup.py`` file says so, this entry point happens to be the ``main`` function within the file named ``__init__.py``. +In our application, because the application's ``pyproject.toml`` file says so, this entry point happens to be the ``main`` function within the file named ``__init__.py``. Open ``tutorial/__init__.py``. It should already contain the following: |
