Issue44097
Created on 2021-05-10 07:42 by pxinwr, last changed 2022-04-11 14:59 by admin.
Pull Requests |
|
|
|
URL |
Status |
Linked |
Edit |
PR 23920 |
open |
pxinwr,2021-05-10 07:42 |
|
Messages (3) |
|
|
msg393356 - (view) |
Author: Peixing Xin (pxinwr) * |
Date: 2021-05-10 07:42 |
Currently when building and installing Python out of source, unoptimized .pyc files and 2 types of optimized .pyc files(*.opt-1.pyc and *.opt-2.pyc) are all compiled out and installed. So to reduce package size and build and installation time, we should provide an option in configure to control the groups of .pyc files to install. For distribution case, normally only one type of .pyc files even none is needed. |
|
|
msg393363 - (view) |
Author: Peixing Xin (pxinwr) * |
Date: 2021-05-10 08:00 |
For the configure option name used in PR# 23930, change it to "--enable-pyc-groups" is better? What is your advice? |
|
|
msg393365 - (view) |
Author: Christian Heimes (christian.heimes) *  |
Date: 2021-05-10 08:11 |
Please hold off with PR until we have agreed if we want this feature request makes sense at all. Linux distributions typically provide all pyc variants. There are also better ways to shrink code size, e.g. deduplication or compression. |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:59:45 |
admin |
set |
github: 88263 |
2021-05-10 08:11:29 |
christian.heimes |
set |
nosy: + christian.heimesmessages: + |
2021-05-10 08:00:10 |
pxinwr |
set |
messages: + |
2021-05-10 07:46:17 |
pxinwr |
set |
nosy: + gregory.p.smith |
2021-05-10 07:42:30 |
pxinwr |
create |
|