-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (26 loc) · 891 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
# Based off http://chrismiles.livejournal.com/23399.html
import sys
try:
import twisted
except ImportError:
raise SystemExit("twisted not found. Make sure you "
"have installed the Twisted core package.")
from distutils.core import setup
def refresh_plugin_cache():
from twisted.plugin import IPlugin, getPlugins
list(getPlugins(IPlugin))
if __name__ == "__main__":
setup(name='mixpanel_proxy',
version='1.0',
description='Asynchronous sending of Mixpanel stats.',
author='Garret Heaton',
author_email='[email protected]',
url='http://github.com/powdahound/mixpanel_proxy',
packages=[
'mixpanel_proxy',
'twisted.plugins'],
package_data={
'twisted': ['plugins/mixpanel_proxy_plugin.py']
})
refresh_plugin_cache()