-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
81 lines (65 loc) · 2.5 KB
/
Copy pathsetup.py
File metadata and controls
81 lines (65 loc) · 2.5 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
"""
execnet: distributed Python deployment and communication
========================================================
.. _execnet: http://codespeak.net/execnet
execnet_ provides carefully tested means to ad-hoc interact with Python
interpreters across version, platform and network barriers. It provides
a minimal and fast API targetting the following uses:
* distribute tasks to local or remote processes
* write and deploy hybrid multi-process applications
* write scripts to administer multiple hosts
Features
------------------
* zero-install bootstrapping: no remote installation required!
* flexible communication: send/receive as well as
callback/queue mechanisms supported
* simple serialization of python builtin types (no pickling)
* grouped creation and robust termination of processes
* well tested between CPython 2.6-3.X, Jython 2.5.1 and PyPy 2.2
interpreters.
* interoperable between Windows and Unix-ish systems.
* integrates with different threading models, including standard
os threads, eventlet and gevent based systems.
"""
try:
from setuptools import setup, Command
except ImportError:
from distutils.core import setup, Command
def main():
setup(
name='execnet',
description='execnet: rapid multi-Python deployment',
long_description = __doc__,
version='1.2.0',
url='http://codespeak.net/execnet',
license='MIT',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
author='holger krekel and others',
author_email='holger at merlinux.eu',
cmdclass = {'test': PyTest},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Libraries',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Networking',
'Programming Language :: Python',
'Programming Language :: Python :: 3'],
packages=['execnet', 'execnet.script'],
)
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys,subprocess
errno = subprocess.call([sys.executable, 'testing/runtest.py'])
raise SystemExit(errno)
if __name__ == '__main__':
main()