Path: ...!news.nobody.at!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Left Right Newsgroups: comp.lang.python Subject: Re: Using pipx for packages as opposed to applications Date: Sun, 12 Jan 2025 11:02:00 +0100 Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de NMEVGZGsPd2aLJEHyyLcCQl8IszhCf+of3XyMgPFVFig== Cancel-Lock: sha1:S5gjDtYS55rVOpUg2l06ySyEc/U= sha256:OgxARLyiTp6n3HkUQq26eyaYDuvfckMTwoXjq8X2qWA= Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=hKGh53jo; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'e.g.': 0.07; 'sun,': 0.07; 'users,': 0.07; 'url:mailman': 0.09; 'cc:addr:python-list': 0.09; 'debian': 0.09; 'fair,': 0.09; 'integrate': 0.09; 'library,': 0.09; 'received:mail-qv1-xf2a.google.com': 0.09; 'subject:packages': 0.09; 'cc:no real name:2**0': 0.14; 'that.': 0.15; 'url:listinfo': 0.15; '2025': 0.16; 'else?': 0.16; 'integration,': 0.16; 'pypi.': 0.16; 'use?': 0.16; 'wrote:': 0.16; 'python': 0.16; 'it?': 0.19; 'libraries': 0.19; 'cc:addr:python.org': 0.20; 'url-ip:188.166.95.178/32': 0.20; 'url-ip:188.166.95/24': 0.20; 'install': 0.23; 'url- ip:188.166/16': 0.24; "i'd": 0.24; 'cannot': 0.25; 'cc:2**0': 0.25; 'seems': 0.26; 'library': 0.26; 'creating': 0.27; 'chris': 0.28; 'sense': 0.28; 'environment': 0.29; 'this?': 0.29; 'it,': 0.29; 'message-id:@mail.gmail.com': 0.31; 'distributing': 0.32; 'python-list': 0.32; 'subject:Using': 0.32; 'subject:for': 0.32; "i'll": 0.33; 'use,': 0.33; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'able': 0.34; 'package': 0.34; 'from:addr:gmail.com': 0.34; 'also,': 0.36; "it's": 0.37; 'hard': 0.37; 'way': 0.38; 'put': 0.38; 'both': 0.38; 'use': 0.39; "that's": 0.39; 'decide': 0.39; 'to.': 0.39; 'want': 0.40; 'should': 0.40; 'best': 0.61; "there's": 0.61; 'your': 0.64; 'imagine': 0.64; 'let': 0.65; 'independent': 0.65; 'tool': 0.65; 'them,': 0.70; 'tools': 0.74; 'green': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736676131; x=1737280931; darn=python.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=B8vOHp/dkT4h7Ml6crYU5ymIc8Pu5WZ6MQZAKt6u2Gc=; b=hKGh53jouQPbRELytRr1hewkftcnkm8ZodcdNwtulWC06zijP6lJ/13bwTNBQjU2qc MiLPmliI5wj1UhqYxN+Po3FNj8UGMD3qB3kp/B2E5g/Fmek1CoQ2DbLLushC88H6BHpW A+s4V9b2kSL9im/rM6EqYOv6w4Fxp1j790ev5hPSSbk6ymDCAHp2LeU/5qu9D8Spm9cy wTV9i9Tdo8nEKdT7k8b0Tph3tH8q8m0NRpMnZNviy63vhPIAerKmNyJy6iNIbkZaYPnS pfAHNYfbMX5a8aelMJPuDZX/tIxXmGrsimgeHGT5D1I1rzpW/SG5NaFmiqrGgbWpaVLu 7UTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736676131; x=1737280931; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B8vOHp/dkT4h7Ml6crYU5ymIc8Pu5WZ6MQZAKt6u2Gc=; b=RkHokpvcMP3cYq/ejI+C5tVKmkG20Q8n5vtPrNt8a1eaqTP/ofIZH+RrL9HtztjC1a C+fkTP5KvPxXgAJB4m+H9ew0flxnQoHQSflHRQc9JatAQEiyPd2UKscVzzMXeFGMDQhW rtN3LGguevNcUUola5IBd7Wj1QqyXuJTh2oURiZWmtRGQpgliVP4rwRGhs3q1+VSuhsB VEl+ku2dQfUkgOwb5JlOVMygLZ0i2cVJvRcasOEqSTJJ+RgrqC9EIZxsrLae4QWn1Iee SJjVNLl2GLE1InUd4p/2I40sXlOyhRWA9oFeeGEBMAHxHraPpISoW9TTfFC+ml8pft6l Z5Gw== X-Gm-Message-State: AOJu0YzrcJoxI3labhiiZT8YT5K5tScK5KLp14zQBq05m1oAOBmmvayP N1oZH6Pe9A938vvEF6WGD5/+esVvwpZ3319VHTycg5yDqFSejTWE0JLAPhuE6M1JEPnBYswEr/a +0B8gDvnfMUARnjohzxyJi9/DShnblA== X-Gm-Gg: ASbGnct/ynJwTqm6ZR94sN4EKcdHIhcxuLpWE6l0d6bfLiwcVKjf3tXo/oCzjXzwapc rRpaskf2GdPWlj26RiB3PCLsdOe/dGhv7CMg33E1a5zHhfEk/48mQG8PyTPfDx999WVu+ X-Google-Smtp-Source: AGHT+IEnsuuAoErTxIk9Le3wytP6Iv0lkFDLjw7fkB76Pu4jPSSmAf2rErkG2Z1+inJbQgdmh5z9tfg5vcG9YSziIyE= X-Received: by 2002:a05:6214:2588:b0:6d8:94f4:d2a8 with SMTP id 6a1803df08f44-6dfba9f7ceemr72529866d6.9.1736676130843; Sun, 12 Jan 2025 02:02:10 -0800 (PST) In-Reply-To: X-Gm-Features: AbW1kvbc-PcFV8nhVpX0DwxFIX_Xaeu7YCjpba-Ps8n9V5TAqwWrJB43kBYwYow X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Bytes: 7057 What would be the intended use? If this is for other Debian users, then why not make a Debian package? If it's for yourself, why do you need to automate it? To be fair, I don't see a point in tools like pipx. Have never used it, and cannot imagine a scenario where I'd want to. It seems like there's always a better way to do what this tool alleges to be able to do... Also, you say that you want it in its own environment: then what difference does it make if it's on Debian or anywhere else? If you are distributing a library, it makes sense to incorporate it into the user's infrastructure. Either you do the integration, or let users decide how to best integrate it. If you provide them with the environment that they *must* use, that's going to be the worst of both worlds: users won't be able to use the library in the environment created by them, nor will this library integrate with the other libraries provided by the system. So, it's hard to imagine why your users would want that. On Sun, Jan 12, 2025 at 12:47=E2=80=AFAM Chris Green via Python-list wrote: > > Can one use pipx to wrap the process of creating an independent > environment for a python package as opposed to a runnable application? > > E.g. I want to install and use pksheet but, as it's not available from > the Debian repositories, I'll have to install it from PyPi. So I > should put it in its own environment. Can pipx help me with this? > > -- > Chris Green > =C2=B7 > -- > https://mail.python.org/mailman/listinfo/python-list