Virtualenv + easyinstall + my own plugin in a repo

91 views
Skip to first unread message

Dustin Nation

unread,
Apr 17, 2014, 10:46:14 AM4/17/14
to gets...@googlegroups.com
Hi,

This may be a newb question, but I've never worked on a Django project that's set up anything like Sentry.

I've installed Sentry using the easyinstall process. Very nice experience.  Now I'd like to add in the webhooks plugin and make a slight change in the functionality. The only problem is that I need to keep the changes in our team's repository.

Ideally the file structure would look like this:

sentry-venv/
    -bin/
    -lib/
    -my-repository/
        --sentry.conf
        --some-sentry-plugin/

Is this possible? If it is, how would I go about telling Sentry where to find it?

Thanks folks!
Dustin Nation

David Cramer

unread,
Apr 17, 2014, 12:50:28 PM4/17/14
to gets...@googlegroups.com
You’ll either need to register it at runtime (somehow), or you should just create a package out of it so it has a setup.py which sets up the entry point.
--
You received this message because you are subscribed to the Google Groups "sentry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getsentry+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dustin Nation

unread,
Apr 17, 2014, 1:57:27 PM4/17/14
to gets...@googlegroups.com
Oh, ok!

I've never used a packaging system in this way before so I was lost. I cloned the webhooks github package to my repo dir and ran "pip install -e ." and boom. Now I can make changes and Sentry can see them!

Thanks David! Your responsiveness on Twitter yesterday (assuming you're the @getsentry guy) and here have really helped me and my team.
Reply all
Reply to author
Forward
0 new messages