Deutsch   English   Français   Italiano  
<mailman.65.1736792542.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Thomas Passin <list1@tompassin.net>
Newsgroups: comp.lang.python
Subject: Re: Using pipx for packages as opposed to applications
Date: Mon, 13 Jan 2025 13:15:49 -0500
Lines: 25
Message-ID: <mailman.65.1736792542.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
 <pksheet-20250112112546@ram.dialup.fu-berlin.de>
 <a4oc5l-l9ft.ln1@q957.zbmc.eu>
 <e67b7cba-131e-4719-9d89-d2b4e73ade17@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de NwVtyQ2pu7pCACYprmHRKQQNhyR2x+Gj/ZD0379zh81g==
Cancel-Lock: sha1:792C6sU/smIonxuKHSoy6rBTRJs= sha256:l+YI1wRkf7CGfT9By2gsv6yxbW1uyyYyCgh3VBMtcaE=
Return-Path: <list1@tompassin.net>
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=tompassin.net header.i=@tompassin.net header.b=jJDjNwGq;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'random': 0.05; 'e.g.':
 0.07; 'ram': 0.07; 'debian': 0.09; 'linux': 0.09; 'meetup': 0.09;
 'subject:packages': 0.09; 'easily.': 0.16; 'interesting,': 0.16;
 'program?': 0.16; 'pypi.': 0.16; 'received:10.0.0': 0.16;
 'received:64.90': 0.16; 'received:64.90.62': 0.16;
 'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
 'sounds': 0.16; 'typo.': 0.16; 'wrote:': 0.16; 'python': 0.16;
 "can't": 0.17; 'uses': 0.19; 'to:addr:python-list': 0.20;
 'install': 0.23; 'stefan': 0.26; "isn't": 0.27; '>>>': 0.28;
 'chris': 0.28; 'environment': 0.29; 'it,': 0.29; 'header:User-
 Agent:1': 0.30; 'am,': 0.31; 'python-list': 0.32; 'received:10.0':
 0.32; 'received:mailchannels.net': 0.32;
 'received:relay.mailchannels.net': 0.32; 'subject:Using': 0.32;
 'but': 0.32; 'develop': 0.32; 'subject:for': 0.32; "i'll": 0.33;
 'script': 0.33; 'header:In-Reply-To:1': 0.34; 'particularly':
 0.35; 'really': 0.36; 'couple': 0.37; "it's": 0.37; 'tech': 0.37;
 'thanks': 0.39; 'use': 0.39; 'received:100': 0.39; 'wrote': 0.39;
 'program.': 0.40; 'serious': 0.40; 'want': 0.40; 'skip:k 10':
 0.64; 'your': 0.64; 'earlier': 0.67; 'header:Received:6': 0.67;
 'received:64': 0.68; 'launches': 0.69; 'alto': 0.84; 'palo': 0.84;
 'brain': 0.91; 'green': 0.96
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1736792151; a=rsa-sha256;
 cv=none;
 b=a6w6ZTAfjJVQzNn5jiVAHbxeL9ZQvYhYZrtPsitO7T50Fhcli4bV27ax8aAfBByxPiH01z
 H881YGN2ZI9Ew3Shcd5BmoblPjD8oCPDvt/8k3qClpF+gSfO5h6qWQ6vczP8Odugp5iSDI
 WEcKmWv03hQDrzwY1yyWK/Pkd4cvKfF2znL3VVorJfAFzLjK4zVOtaABZQW5733V7IK5MF
 XemaaDcI08so1i4B+Xe1+YsarzjwV9kD92JG04vDvjuwIgILfl8saEfHWz3vKrfP9IMUD3
 cHWzeI1FG1ZU5V5BqFlpql/6QxURPgPSkAh/hNLxTuDNsxqJR2YibHlZb9G/Nw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1736792151;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:dkim-signature;
 bh=quAOsRm/mWUOFyRql/E6mhGQjbmNd4un5hIooKG5SEg=;
 b=H9YtvOGiqmWZ73nMCJD2xwlkehSCVugQXoLtTnMbyVtz3/sCQm4DFicSWK6S82oC5qLSHg
 dKCVyuzidB3JNOhDhXdjWBjdXvnw84KADMmeKYOe1hGv3AxfgPdb74QgaXz6BgjDWcTy43
 J5dQM8vSiSaOgWsd8S3OlOPk5DWXodZ8w+TMm95mQHTE4K8kBcTbmA3wC0rNaEA6fKisKs
 Hs639uU3Sb5rKvcNjglp3+rPF2iGPTRR6Owr/Ogfx6V0bO0C0XzDjTTssz2l1hv013L2dE
 4rQJg/LQcmhwjIq3QZyGfORq6a+opH4dXhdMAmW/TlNsWEb7lmfn01uheuqRhg==
ARC-Authentication-Results: i=1; rspamd-7df4dcbd86-6j8tr;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Stupid-Hook: 6c310b631fcd6d90_1736792151393_1940751807
X-MC-Loop-Signature: 1736792151393:829579037
X-MC-Ingress-Time: 1736792151393
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
 s=dreamhost; t=1736792150;
 bh=quAOsRm/mWUOFyRql/E6mhGQjbmNd4un5hIooKG5SEg=;
 h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
 b=jJDjNwGqW7wXcEbUXK8Uo4jfGhDwvJPOtDfDd/7+1dC5WTMo20HXgPqx+lOY1A9VC
 cQ6j1+5hrn7a06IDGNi3C6pWKeCbs8pxdT5iyAkGnAjfGo4PAXAF5cI67OPejO1AyF
 cIISnG5VTqvQfM9GZOKVdNfMQVnvYXeKkExsBAr/nwl+N2awnScYoS5CB2DlfEbRLx
 N4NAIt/GfydtrCJUI7+ocoSFiBJzVgb+1KwvP2gTUjqU1tWBbyWEGfystqUSK+WvTz
 piuLWlDRea8Adze7NaofKNzE7xuxu2ja+w/50W76/jBZLQpSWvvxmWKLuE/u4QtGmP
 yBwlGSKYFeE1A==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <a4oc5l-l9ft.ln1@q957.zbmc.eu>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <e67b7cba-131e-4719-9d89-d2b4e73ade17@tompassin.net>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
 <pksheet-20250112112546@ram.dialup.fu-berlin.de>
 <a4oc5l-l9ft.ln1@q957.zbmc.eu>
Bytes: 6909

On 1/12/2025 7:11 AM, Chris Green via Python-list wrote:
> Stefan Ram <ram@zedat.fu-berlin.de> wrote:
>> Chris Green <cl@isbd.net> wrote or quoted:
>>> 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.
>>
>>    I can't dig up any "pksheet" on PyPI. So, you got to take
>>    my earlier response like a rumor from a random tech meetup in
>>    Palo Alto - sounds interesting, but needs serious verification.
>>
> Ah, oops, a typo.  It's pysheet (I have pk on the brain from it being
> Point Kilometrique, distance markers on canals in France).
> 
> Thanks for your previous response, it told me what I needed to know,
> that pipx isn't really going to do what I want particularly easily.
> 
> 
> If I DIY an environment for pysheet and then develop some python that
> uses it, how do I then make it accessible as a 'normal' program? This
> is just for my own use by the way, on (probably) just a couple of
> Linux systems.

Create a launch script that sets the environmental variables and 
launches the program.