[aur-general] TU Application - Robin Broda

Eli Schwartz eschwartz at archlinux.org
Fri Mar 2 19:16:46 UTC 2018

On 03/02/2018 02:09 PM, Robin Broda via aur-general wrote:
>> - /usr/bin/indicator-sysmonitor invokes stuff and imports py files
>>   provided in usr/lib. This can result in untracked file creations
>>   if the application is run as root. cache files should be created
>>   before packaging, but this should also be possible solved upstream
>>   for the make install call
> I'm not really sure how to fix that, i'm not that familiar with python
> and its cache generation.

You can just run:

python -m compileall -d '/' "${pkgdir}/"
python -O -m compileall -d '/' "${pkgdir}/"

A setuptools-based build would generate .pyc and .pyo files automatically.

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20180302/7ef9b9ac/attachment.asc>

More information about the aur-general mailing list