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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to