Skip to content

Commit

Permalink
Merge pull request #3881 from GandalfSaxe/patch-2
Browse files Browse the repository at this point in the history
Code block: :: missing and 4 spaces instead of 5
  • Loading branch information
nicoddemus authored Aug 26, 2018
2 parents 4d19b94 + 5087747 commit 7ae2390
Showing 1 changed file with 3 additions and 4 deletions.
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

0 comments on commit 7ae2390

Please sign in to comment.