FS#38762 - [system-config-printer] Optimize python files
Attached to Project:
Arch Linux
Opened by Steven (Stebalien) - Saturday, 01 February 2014, 22:40 GMT
Last edited by Eric Belanger (Snowman) - Monday, 14 April 2014, 17:50 GMT
Opened by Steven (Stebalien) - Saturday, 01 February 2014, 22:40 GMT
Last edited by Eric Belanger (Snowman) - Monday, 14 April 2014, 17:50 GMT
|
Details
The system-config-printer package doesn't currently include
'.pyo' and '.pyc' files. Adding the following lines to the
package function compiles these files:
# Compile *.pyc find $pkgdir -name '*.py' -exec python2 -mpy_compile {} + # Compile *.pyo find $pkgdir -name '*.py' -exec python2 -O -mpy_compile {} + |
This task depends upon
Closed by Eric Belanger (Snowman)
Monday, 14 April 2014, 17:50 GMT
Reason for closing: Implemented
Additional comments about closing: system-config-printer-1.4.4-1 in [testing] repo
Monday, 14 April 2014, 17:50 GMT
Reason for closing: Implemented
Additional comments about closing: system-config-printer-1.4.4-1 in [testing] repo