Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The bigger the theory the better.


devel / comp.lang.python / Re: virtualenv and make DESTDIR=

SubjectAuthor
o Re: virtualenv and make DESTDIR=Barry Scott

1
Re: virtualenv and make DESTDIR=

<mailman.191.1646500782.2329.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17379&group=comp.lang.python#17379

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: virtualenv and make DESTDIR=
Date: Sat, 5 Mar 2022 17:19:40 +0000
Lines: 33
Message-ID: <mailman.191.1646500782.2329.python-list@python.org>
References: <05a5b570-d917-2b25-33ea-560fcbd76ce8@goebel-consult.de>
<F926CB1C-79DE-4833-A551-119B64B94675@barrys-emacs.org>
<CABbU2U-dMpF02ZeTk3VBeUkKan=ghko07bf2xey+vg0vOOo+tg@mail.gmail.com>
<98D576F9-6D84-49B1-B172-EE4B619730AD@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de BFYddIWrEn3FLsrZc4YxbgwepLaq8Yf3GwLgF5Tbq8ZA==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; '2022': 0.05;
'pypi': 0.05; 'mar': 0.07; 'cc:addr:python-list': 0.09;
'from:addr:barry': 0.09; 'patches': 0.09; 'received:217.70': 0.09;
'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09; '--
user': 0.16; '2022,': 0.16; 'barry': 0.16; 'from:addr:barrys-
emacs.org': 0.16; 'from:name:barry scott': 0.16; 'message-id
:@barrys-emacs.org': 0.16; 'wrote:': 0.16; 'python': 0.16;
"can't": 0.17; 'cc:addr:python.org': 0.20; 'sat,': 0.22;
'version': 0.23; 'install': 0.23; 'cc:2**1': 0.23; 'run': 0.23;
'cannot': 0.25; 'local': 0.27; 'packages': 0.31; 'disabled': 0.32;
'guess': 0.32; 'package': 0.34; 'work.': 0.34; 'header:In-Reply-
To:1': 0.34; 'files': 0.36; 'using': 0.37; 'file': 0.38; 'use':
0.39; 'match': 0.40; 'seen': 0.62; 'security': 0.64;
'received:217': 0.67; 'ever.': 0.69; 'sources,': 0.69; 'note:':
0.71; 'scott': 0.84; 'subject:make': 0.84; 'sulla': 0.84;
'wheels': 0.84
In-Reply-To: <CABbU2U-dMpF02ZeTk3VBeUkKan=ghko07bf2xey+vg0vOOo+tg@mail.gmail.com>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
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: <98D576F9-6D84-49B1-B172-EE4B619730AD@barrys-emacs.org>
X-Mailman-Original-References: <05a5b570-d917-2b25-33ea-560fcbd76ce8@goebel-consult.de>
<F926CB1C-79DE-4833-A551-119B64B94675@barrys-emacs.org>
<CABbU2U-dMpF02ZeTk3VBeUkKan=ghko07bf2xey+vg0vOOo+tg@mail.gmail.com>
 by: Barry Scott - Sat, 5 Mar 2022 17:19 UTC

> On 5 Mar 2022, at 16:59, Marco Sulla <Marco.Sulla.Python@gmail.com> wrote:
>
> On Sat, 5 Mar 2022 at 17:36, Barry Scott <barry@barrys-emacs.org> wrote:
>> Note: you usually cannot use pip when building an RPM with mock as the network is disabled inside the build for
>> security reasons.
>
> Can't he previously download the packages and run pip on the local packages?
>

I guess that can work. In this case I would install with pip install --user and move the
files out of .local into an appropriate place in /opt/<app>.

At work I package a lot of packages for python and what we do is get the sources,
review them then turn them into an RPM using the setup.py to do the file placement.

We do not use the wheels from PyPI ever. They may not match the claimed sources.
Which I have seen a few times; the version on PyPI can contain helpful patches that
are not in the sources.

Barry

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor