OLD | NEW |
| (Empty) |
1 try: | |
2 from twisted.python.dist import setup, ConditionalExtension as Extension | |
3 except ImportError: | |
4 raise SystemExit("twisted.python.dist module not found. Make sure you " | |
5 "have installed the Twisted core package before " | |
6 "attempting to install any other Twisted projects.") | |
7 | |
8 extensions = [ | |
9 Extension("twisted.runner.portmap", | |
10 ["twisted/runner/portmap.c"], | |
11 condition=lambda builder: builder._check_header("rpc/rpc.h")), | |
12 ] | |
13 | |
14 if __name__ == '__main__': | |
15 setup( | |
16 twisted_subproject="runner", | |
17 # metadata | |
18 name="Twisted Runner", | |
19 description="Twisted Runner is a process management library and inetd " | |
20 "replacement.", | |
21 author="Twisted Matrix Laboratories", | |
22 author_email="twisted-python@twistedmatrix.com", | |
23 maintainer="Andrew Bennetts", | |
24 maintainer_email="spiv@twistedmatrix.com", | |
25 url="http://twistedmatrix.com/trac/wiki/TwistedRunner", | |
26 license="MIT", | |
27 long_description="""\ | |
28 Twisted Runner contains code useful for persistent process management | |
29 with Python and Twisted, and has an almost full replacement for inetd. | |
30 """, | |
31 # build stuff | |
32 conditionalExtensions=extensions, | |
33 ) | |
OLD | NEW |