diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-03-24 11:16:03 +0000 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-03-24 11:38:36 +0000 |
| commit | 5af72b9c332551756681be31d92a165f737ddf12 (patch) | |
| tree | c9c243cb0742773b44ae3324be402f826c472476 /docs | |
| parent | 73b2fcebbcfb4d3c45dba811a4b26287c24189e0 (diff) | |
| download | python-setuptools-git-5af72b9c332551756681be31d92a165f737ddf12.tar.gz | |
Restore tip about editable installs
Experiments with pip 21.1 confirm that it can use editable mode even
when `setup.py` is missing.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/userguide/quickstart.rst | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/docs/userguide/quickstart.rst b/docs/userguide/quickstart.rst index 276aaf73..79b5d13e 100644 --- a/docs/userguide/quickstart.rst +++ b/docs/userguide/quickstart.rst @@ -338,28 +338,11 @@ Here's how to do it:: This creates a link file in your interpreter site package directory which associate with your source code. For more information, see :doc:`development_mode`. -.. - TODO: Restore the following note once PEP 660 lands in setuptools. - tip: Prior to :ref:`pip v21.1 <pip:v21-1>`, a ``setup.py`` script was - required to be compatible with development mode. With late - versions of pip, any project may be installed in this mode. - .. tip:: - If you are experimenting with :doc:`configuration using - <pyproject_config>`, or have version of ``pip`` older than :ref:`v21.1 <pip:v21-1>`, - you might need to keep a ``setup.py`` file in file in your repository if - you want to use editable installs (for the time being). - - A simple script will suffice, for example: - - .. code-block:: python - from setuptools import setup - - setup() - - You can still keep all the configuration in :doc:`setup.cfg </userguide/declarative_config>` - (or :doc:`pyproject.toml </userguide/pyproject_config>`). + Prior to :ref:`pip v21.1 <pip:v21-1>`, a ``setup.py`` script was + required to be compatible with development mode. With late + versions of pip, any project may be installed in this mode. Uploading your package to PyPI |
