Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: de.comp.lang.python Subject: Re: [Anleitung] Bearbeitbare Installationen Date: 10 Jun 2025 11:41:53 GMT Organization: Stefan Ram Lines: 18 Expires: 1 Jun 2026 11:59:58 GMT Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de ohxbE83lnaMmGCkHZH+60Qjy7DdGoH3UE62Ix7tvWVXjD6 Cancel-Lock: sha1:FzZWSRdhLeAMkmdXsD5QYfaVmOQ= sha256:ul01QOrJApSeiab/rgoIh3FSCgvHqcNV0rgV6p2mPzo= X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: de-DE-1901 Xref: csiph.com de.comp.lang.python:6299 ram@zedat.fu-berlin.de (Stefan Ram) schrieb oder zitierte: >In vielen Python-Büchern wird diese Thema leider kaum >behandelt. Wenn man lange genug rumfragt, erfährt man, >daß man eine "bearbeitbare Installation" mit >pip install -e >erzeugen soll. Aber dafür soll man erst einmal eine "setup.py" >or "pyproject.toml" anlegen. Hier habe ich dann noch ein Problem >mit den "setuptools". Die soll ich auch erst einmal installieren >("Batteries included"?), aber wenn ich das dann mache (neueste >Version!) und "import setuptools" ohne Fehlermeldung läuft, >meldet pip weiterhin, daß ihm die setuptools fehlen . . . Pip arbeitet in diesem Fall in einer eigenen Umgebung und sieht daher installierte Pakete gar nicht. Man kann ihm mit "--no-index --find-links=...", aber sagen, wo sich ein installationsfähiges setuptools-Archiv befindet. Dann geht es!