From: Andreas Oberritter <obi@opendreambox.org>
To: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/3] python: Restructure python packaging and replace it with autopackaging
Date: Thu, 17 Aug 2017 16:14:28 +0200 [thread overview]
Message-ID: <20170817161428.172eb7b8@t460p> (raw)
In-Reply-To: <d19886da974978d84a0522b970503f74ad7ec382.1502965191.git.alejandro.hernandez@linux.intel.com>
On Thu, 17 Aug 2017 03:24:23 -0700
Alejandro Hernandez <alejandro.hernandez@linux.intel.com> wrote:
> - It creates a solution for users that want precompiled bytecode files
> (*.pyc) INCLUDE_PYCS = "1" can be set by the user on their local.conf to
> include such files, some argument they get faster boot time, even when the
> files would be created on their first run?, but they also sometimes give a
> magic number error and take up space, so we leave it to the user to
> decide if they want them or not.
A serious problem with not shipping precompiled pyc and/or pyo files is that,
once generated on first run, package managers won't uninstall them.
This can cause many undesired effects, because python programs will still be
able to import these files, but dependencies like graphics or shared libraries
may have been deleted by the package manager.
Also, not being able to uninstall something is bad on its own.
So, if anything, I believe INCLUDE_PYCS = "1" would be the only sane default,
unless no package management was involved at all.
And no read-only filesystem, for what it's worth.
Best regards,
Andreas
P.S.: I didn't see patches 2 and 3. Is it just an incorrect subject?
next prev parent reply other threads:[~2017-08-17 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1502965191.git.alejandro.hernandez@linux.intel.com>
2017-08-17 10:24 ` [PATCH 1/3] python: Restructure python packaging and replace it with autopackaging Alejandro Hernandez
2017-08-17 14:14 ` Andreas Oberritter [this message]
2017-08-17 15:06 ` Alejandro Hernandez
2017-08-17 17:11 [PATCH 0/3] Restructure python2 and python3 packaging system Alejandro Hernandez
2017-08-17 17:11 ` [PATCH 1/3] python: Restructure python packaging and replace it with autopackaging Alejandro Hernandez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170817161428.172eb7b8@t460p \
--to=obi@opendreambox.org \
--cc=alejandro.hernandez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox