FS#60929 - [autojump] Python lib files should be in /usr/lib/python3.7/site-packages
Attached to Project:
Community Packages
Opened by Jan Alexander Steffens (heftig) - Wednesday, 28 November 2018, 21:49 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 02 November 2019, 20:22 GMT
Opened by Jan Alexander Steffens (heftig) - Wednesday, 28 November 2018, 21:49 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 02 November 2019, 20:22 GMT
|
Details
autojump installs .py library files into /usr/bin. This is
bad for two reasons:
- Files are placed in $PATH that should not and cannot be executed. - Python will attempt to write /usr/bin/__pycache__/*.pyc if it can, e.g. when autojump is loaded in a root shell. The latter is especially egregious as the files are untracked. Please move the .py libraries to /usr/lib/python3.7/site-packages and precompile them using: python -m compileall -d /usr/lib "$pkgdir/usr/lib" python -O -m compileall -d /usr/lib "$pkgdir/usr/lib" |
This task depends upon
Closed by Jaroslav Lichtblau (Dragonlord)
Saturday, 02 November 2019, 20:22 GMT
Reason for closing: Won't fix
Additional comments about closing: autojump removed from [community]
Saturday, 02 November 2019, 20:22 GMT
Reason for closing: Won't fix
Additional comments about closing: autojump removed from [community]
Comment by
Jaroslav Lichtblau (Dragonlord) -
Saturday, 02 November 2019, 20:22 GMT
Too many issues with autojump throghout the years, package
deleted.