Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions doc/en/goodpractices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ for installing your application and any dependencies
as well as the ``pytest`` package itself. This ensures your code and
dependencies are isolated from the system Python installation.

First you need to place a ``setup.py`` file in the root of your package with the following minimum content:
First you need to place a ``setup.py`` file in the root of your package with the following minimum content::

from setuptools import setup, find_packages
from setuptools import setup, find_packages


setup(name="PACKAGENAME", packages=find_packages())
setup(name="PACKAGENAME", packages=find_packages())

Where ``PACKAGENAME`` is the name of your package. You can then install your package in "editable" mode by running from the same directory::

Expand Down