Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
o11c opened this issue Apr 8, 2016 · 3 comments
Open

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

o11c opened this issue Apr 8, 2016 · 3 comments

Comments

@o11c
Copy link

o11c commented Apr 8, 2016

No description provided.

@tromey
Copy link
Owner

tromey commented Apr 8, 2016

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".

@o11c
Copy link
Author

o11c commented Apr 8, 2016

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.

@tromey
Copy link
Owner

tromey commented Apr 13, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants