* Migrated from pkg_resources to importlib.resources
* Configuration is now saved as relative to environment in which python-console
was launched. If you have two different python-venvs in same folder, they
will have separate configs. This is why sys is now imported, to get
sys.prefix and compare it to sys.base_prefix. Conf-file, editor.cnf is now
in root of sys.prefix and is _not_ saved if not in virtual environment.
When earlier conf was moved to package dir, it caused an issue: conf was not
removed when pip uninstall, because it was put there after install and so
pip does not recognise it as part of package.
I first thought about system-wide approach and use platformdirs to save conf
in users .config-folder but I could not get OS-pip to:
console
foobar:~$ OS-pip install myprog
foobar:~$ cd myproject
foobar:~/myproject$ source myenv/bin/activate
(myenv) foobar:~/myproject$ python
------------------------------------
>>> import myprog
It would not import it. I now found this pyvenv.cfg -file which is in root of myvenv
and it has this line: include-system-site-packages = false , so maybe this was the cause,
but it is what it is now, I might try it again later.
* Removed indent and unindent from popup as impractical.
* Made unindent to place cursor the same way as indent.
* Hitting just Enter or putting -1 in gotoline moves cursor to file-end.
* Updated help and other small fixes.