Merge pull request #3881 from GandalfSaxe/patch-2
Code block: :: missing and 4 spaces instead of 5
This commit is contained in:
commit
7ae23901d3
|
@ -12,11 +12,10 @@ for installing your application and any dependencies
|
||||||
as well as the ``pytest`` package itself. This ensures your code and
|
as well as the ``pytest`` package itself. This ensures your code and
|
||||||
dependencies are isolated from the system Python installation.
|
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::
|
Where ``PACKAGENAME`` is the name of your package. You can then install your package in "editable" mode by running from the same directory::
|
||||||
|
|
Loading…
Reference in New Issue