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


Groups > linux.debian.maint.python > #14387

Python distributions with multiple packages

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From c.buhtz@posteo.jp
Newsgroups linux.debian.maint.python
Subject Python distributions with multiple packages
Date Fri, 26 Aug 2022 13:20:01 +0200
Message-ID <EYFxv-3c0Y-5@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Aug 26 11:10:20 2022
Old-Return-Path <c.buhtz@posteo.jp>
X-Amavis-Spam-Status No, score=-9.51 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding 7bit
Reply-To debian-python@lists.debian.org
Mail-Reply-To debian-python@lists.debian.org
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20225
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/46a40391c041f38d4efabb7c9b5a8425@posteo.de
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 26 Aug 2022 11:10:03 +0000
X-Original-Message-ID <46a40391c041f38d4efabb7c9b5a8425@posteo.de>
Xref csiph.com linux.debian.maint.python:14387

Show key headers only | View raw


Hello,

today I found out that it is possible to create a Python "Distribution 
Package" [1] (e.g. a whl-file) that contain more then one "Importable 
Packages" [2].

So you can do "pip3 install mydistropackage" and after that you can do 
"import mya" and "import myb".

Are you aware of any packages in Debian that are related to upstream 
projects using that "technic"?

And if so how do you (as debian distro maintainers) handle that? Do you 
create one deb-file for "mydistropackage" (e.g. 
"python3-mydistropackage.deb") or do you separate into "python3-mya.deb" 
and "python3-myb.deb"?

Kind
Christian Buhtz

[1] -- 
<https://packaging.python.org/en/latest/glossary/#term-Distribution-Package>
[2] -- 
<https://packaging.python.org/en/latest/glossary/#term-Import-Package>

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Python distributions with multiple packages c.buhtz@posteo.jp - 2022-08-26 13:20 +0200
  Re: Python distributions with multiple packages Stefano Rivera <stefanor@debian.org> - 2022-08-26 22:20 +0200

csiph-web