From: Guenter M. <mi...@us...> - 2023-08-30 09:44:06
|
Dear Alan, On 2023-08-29, Alan G. Isaac wrote: > On 8/29/2023 5:01 PM, Guenter Milde via Docutils-users wrote: >> On 2023-08-29, Alan G. Isaac wrote: >>> Latest docutils from Subversion repository (vis svn update). >>> Installed with >>> python312 setup.py install >>> Subsequent message from pip: >>> DEPRECATION: Loading egg at c:\program files\python312\lib\site-packages\docutils-0.21b0.dev0-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour >>> change. A possible replacement is to use pip for package installation. >>> I searched but did not find an answer to the question: >>> what does this mean, and how to address it? > On 8/29/2023 5:01 PM, Guenter Milde via Docutils-users wrote: >> Latest tips at >> https://docutils.sourceforge.io/README.html#installation > Sure, but to install the current code on Subversion, > I cannot use pip. Right?? Actually, no. The linked documentation tells you: * To install a `development version`_ *from source*: 1. Open a shell 2. Go to the directory containing the file ``setup.py``. 3. Install the package with **one** of the following commands:: pip install -e . # editable install pip install . # regular install python setup.py # regular install with setuptools and ``pip install --help`` explains what an "editable install" is: -e, --editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url. > I suspect (??) this serves as an alert to the > docutils project that it must change how it > uses setuptools before pip 23.3 is released. Thank you for the pointer. The Docutils project distributes "wheels" instead of "eggs" since 2015¹, so we should be safe for now. We actually plan to replace "setup.py" in one of the next releases https://sourceforge.net/p/docutils/patches/186/ Thanks, Günter ¹Hence my question where you got the egg from. |