[arch-general] Clearing __pycache__ folders

Jayesh Badwaik jayesh.badwaik90 at gmail.com
Tue May 8 23:54:57 EDT 2012


On Tuesday 08 May 2012 23:13:54 martin kalcher wrote:
> > Hey,
> > 
> > these pycache folders *should* be created with a python setup script
> > [0], which *should* be called in the PKGBUILD during buildtime, so they
> > *should* be part of the package. If not, python creates them during
> > runtime and messes up your system...
> > 
> > So the cleanest way is to write a setup script and send it to the
> > maintainer.
> > 
> > The quicker way is to write a simple script, the checks your file system
> > for disowned files. See: [1]
> > 
> > [0] http://docs.python.org/py3k/distutils/setupscript.html
> > [1]
> > https://wiki.archlinux.org/index.php/Pacman_Tips#Identify_files_not_owned_
> > by_any_package
> Or use pacmans -f switch to overwrite them.
> 
> Cheers, ushi

Thanks for the clarification. I would try to write a script for the package and 
send it to the maintainer. 

pacman -f seems a bad option. It seems hazardous to make it a habit. :-( 


-- 
Cheers and Regards
Jayesh Badwaik
stop html mail      | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html


More information about the arch-general mailing list