-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
34 lines (26 loc) · 926 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
#!/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='curler',
version='1.1',
description='Gearman worker that hits a web service to do work.',
author='Garret Heaton',
author_email='[email protected]',
url='http://github.com/powdahound/curler',
packages=['curler',
'curler.twisted_gears',
'twisted.plugins'],
package_data={
'twisted': ['plugins/curler_plugin.py']}
)
refresh_plugin_cache()