Lumir Balhar
|
4493789fb8
|
Use -s to not add user site directory to sys.path for byte-compilation
|
2019-07-15 14:26:49 +02:00 |
|
Lumir Balhar
|
76681ad58e
|
Use a new module compileall2 for Python byte-compilation
|
2019-07-15 14:26:49 +02:00 |
|
Miro Hrončok
|
4b3c23b233
|
Workaround leaking buildroot PATH in %py_byte_compile (#1647212)
|
2018-12-14 10:20:40 +01:00 |
|
Miro Hrončok
|
8f067ff385
|
Make %py_byte_compile terminate build on SyntaxErrors (#1616219)
Also, make it simpler again
|
2018-08-22 11:48:27 +02:00 |
|
Tomas Orsava
|
05333eb586
|
macros.pybytecompile: Detect Python version through sys.version_info
...instead of guessing from the executable name.
This should make it work on EPEL7 as well where we ship 3.4 and 3.6
https://bugzilla.redhat.com/show_bug.cgi?id=1599809
|
2018-07-19 11:52:36 +02:00 |
|
Tomas Orsava
|
f961fbbc29
|
Fix %%py_byte_compile macro
When invoked with a Python 2 binary it also mistakenly ran py3_byte_compile.
|
2018-07-10 15:14:23 +02:00 |
|
Miro Hrončok
|
21ac2a9653
|
Make the pybytecompile version agnostic again
It is no longer bound to a specific pythonX package
|
2018-04-10 11:58:45 +02:00 |
|
Matej Stuchlik
|
bcfeb6a0b1
|
Update macros.pybytecompile to 3.4
|
2018-04-10 11:58:45 +02:00 |
|
dmalcolm
|
739136717f
|
Introduce macros.pybytecompile
|
2018-04-10 11:58:45 +02:00 |
|