Best way to deal with .pyc files?

2018-12-06 Thread John Baldwin
The devel/gdb port installs python scripts into /usr/local/share/gdb/python. If you then run kgdb as root (not that unusual), it will generate .pyc files in those directories that are not deleted by 'pkg delete'. What is the best way to handle this case? Should the pkg-plist include @rmtry entri

Re: Best way to deal with .pyc files?

2018-12-06 Thread Michael Gmelin
> On 6. Dec 2018, at 19:21, John Baldwin wrote: > > The devel/gdb port installs python scripts into > /usr/local/share/gdb/python. > If you then run kgdb as root (not that unusual), it will generate .pyc files > in > those directories that are not deleted by 'pkg delete'. What is the best w

Re: Best way to deal with .pyc files?

2018-12-07 Thread John Baldwin
On 12/6/18 11:17 AM, Michael Gmelin wrote: > > >> On 6. Dec 2018, at 19:21, John Baldwin wrote: >> >> The devel/gdb port installs python scripts into >> /usr/local/share/gdb/python. >> If you then run kgdb as root (not that unusual), it will generate .pyc files >> in >> those directories that

Re: Best way to deal with .pyc files?

2018-12-10 Thread John Baldwin
On 12/7/18 10:17 AM, John Baldwin wrote: > On 12/6/18 11:17 AM, Michael Gmelin wrote: >> >> >>> On 6. Dec 2018, at 19:21, John Baldwin wrote: >>> >>> The devel/gdb port installs python scripts into >>> /usr/local/share/gdb/python. >>> If you then run kgdb as root (not that unusual), it will gener

Re: Best way to deal with .pyc files?

2018-12-13 Thread Mathieu Arnold
On Mon, Dec 10, 2018 at 11:22:49AM -0800, John Baldwin wrote: > On 12/7/18 10:17 AM, John Baldwin wrote: > > On 12/6/18 11:17 AM, Michael Gmelin wrote: > >> > >> > >>> On 6. Dec 2018, at 19:21, John Baldwin wrote: > >>> > >>> The devel/gdb port installs python scripts into > >>> /usr/local/share/

Re: Best way to deal with .pyc files?

2018-12-13 Thread John Baldwin
On 12/13/18 1:35 AM, Mathieu Arnold wrote: > On Mon, Dec 10, 2018 at 11:22:49AM -0800, John Baldwin wrote: >> On 12/7/18 10:17 AM, John Baldwin wrote: >>> On 12/6/18 11:17 AM, Michael Gmelin wrote: > On 6. Dec 2018, at 19:21, John Baldwin wrote: > > The devel/gdb port install