gdb-gui icon indicating copy to clipboard operation
gdb-gui copied to clipboard

Ship a standard `./setup.py` so it can be installed with `pip`

Open o11c opened this issue 9 years ago • 3 comments

o11c avatar Apr 08 '16 18:04 o11c

It seems reasonable but we're still left with the issue of integrating into gdbinit somehow. I guess we can just document "python import mumble".

tromey avatar Apr 08 '16 18:04 tromey

There is a Python standard for registering and discovering plugins, but that's using eggs, which aren't supposed to be used anymore.

https://pythonhosted.org/setuptools/pkg_resources.html#locating-plugins

If not, I'm all for just documenting the import.

Note, since you haven't been on IRC: I've been sketching out an idea for removing the need for any -gdb.py files or imports for pretty printers in favor of some magic with __path__. Something similiar could possibly be used here, since gui is not a good top-level package name, and gdb.gui is not directly possible.

I still need to investigate how stuff works with Python2, since Debian's gdb-python2 package is completely and utterly broken.

o11c avatar Apr 08 '16 19:04 o11c

Regarding the gui or gdb.gui issue -- I am not averse to renaming the package.

tromey avatar Apr 13 '16 01:04 tromey