Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #6065

[Python-de] Re: Pfade, Modulnamen und import-Statements

From Christopher Arndt <chris@chrisarndt.de>
Newsgroups de.comp.lang.python
Subject [Python-de] Re: Pfade, Modulnamen und import-Statements
Date 2024-05-11 15:18 +0200
Message-ID <da75dfec-7c23-4093-af02-a7d1b41cd2bf@chrisarndt.de> (permalink)
References <ZjYYBgoIiqLkxkB3@torres.zugschlus.de> <la7604FdslU1@mid.individual.net> <Verzeichnisse-20240511131000@ram.dialup.fu-berlin.de> <distutils-20240511140456@ram.dialup.fu-berlin.de>

Show all headers | View raw


Am 11.05.24 um 15:05 schrieb Stefan Ram:>    ODER ich habe "setuptools" 
mit "distutils" verwechselt, und
>    "setuptools" wurden in Python 3.12 nicht entfernt.

distutils wurde in 31.2 aus der stdlib entfernt.

setuptools war noch nie Teil der stdlib, wurde aber standardmäßig von 
venv in neue virtuelle Environments installiert. Das ist jetzt nicht 
mehr so.

Wenn man weiter distutils oder setuptools und eine setup.py verwenden 
will, sollte man daher eine pyproject.toml anlegen und eine
entsprechende [build-system] Sektion einfügen, die dafür sorgt, dass 
beim Bauen eines Pakets setuptools heruntergeladen wird setuptools hat 
dann seine eigene Version von distutils.

Siehe:

https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-a-build-backend


Chris

Back to de.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[Python-de] Pfade, Modulnamen und import-Statements Marc Haber <mh+python-de@zugschlus.de> - 2024-05-04 13:12 +0200
  [Python-de] Re: Pfade, Modulnamen und import-Statements Hartmut Goebel <h.goebel@crazy-compilers.com> - 2024-05-04 19:22 +0200
    [Python-de] Re: Pfade, Modulnamen und import-Statements Marc Haber <mh+python-de@zugschlus.de> - 2024-05-05 10:21 +0200
      Re: [Python-de] Re: Pfade, Modulnamen und import-Statements Bastian Blank <usenet@waldi.eu.org> - 2024-05-05 10:32 +0000
        [Python-de] Re: Pfade, Modulnamen und import-Statements Marc Haber <mh+python-de@zugschlus.de> - 2024-05-10 11:37 +0200
          [Python-de] Re: Pfade, Modulnamen und import-Statements Hartmut Goebel <h.goebel@crazy-compilers.com> - 2024-05-11 17:49 +0200
  Re: [Python-de] Pfade, Modulnamen und import-Statements "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2024-05-05 02:26 +0200
    [Python-de] Re: Pfade, Modulnamen und import-Statements Marc Haber <mh+python-de@zugschlus.de> - 2024-05-05 10:25 +0200
      Re: [Python-de] Re: Pfade, Modulnamen und import-Statements "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2024-05-05 12:38 +0200
        [Python-de] Re: Pfade, Modulnamen und import-Statements Marc Haber <mh+python-de@zugschlus.de> - 2024-05-10 11:39 +0200
          Re: [Python-de] Re: Pfade, Modulnamen und import-Statements "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2024-05-10 19:25 +0200
  Re: [Python-de] Pfade, Modulnamen und import-Statements Hermann Riemann <nospam.ng@hermann-riemann.de> - 2024-05-05 12:02 +0200
    [Python-de] Re: Pfade, Modulnamen und import-Statements Marc Haber <mh+python-de@zugschlus.de> - 2024-05-05 12:35 +0200
  Re: [Python-de] Pfade, Modulnamen und import-Statements Hermann Riemann <nospam.ng@hermann-riemann.de> - 2024-05-10 20:05 +0200
    [Python-de] Re: Pfade, Modulnamen und import-Statements Christopher Arndt <chris@chrisarndt.de> - 2024-05-11 15:18 +0200
    [Python-de] Re: Pfade, Modulnamen und import-Statements Hartmut Goebel <h.goebel@goebel-consult.de> - 2025-01-26 21:21 +0100

csiph-web