Skip to content

Commit eb06f4a

Browse files
committed
removing README.txt; simpler long_description
git-svn-id: svn+ssh://svn.mystic.cacr.caltech.edu/pathos/multiprocess@759 8bfda07e-5b16-0410-ab1d-fd04ec2748df
1 parent 1d2c4aa commit eb06f4a

File tree

4 files changed

+84
-224
lines changed

4 files changed

+84
-224
lines changed

MANIFEST.in

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
include CHANGES.txt
2+
include COPYING.txt
3+
include INSTALL.txt
4+
include MANIFEST.in
5+
include PKG-INFO
6+
include README.md
7+
include THANKS.txt
8+
recursive-include py2.5 *
9+
recursive-include py2.6 *
10+
recursive-include py2.7 *
11+
recursive-include py3.1 *
12+
recursive-include py3.2 *
13+
recursive-include py3.3 *
14+
recursive-include py3.4 *

PKG-INFO

Lines changed: 41 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,41 @@
1-
Metadata-Version: 1.0
2-
Name: processing
3-
Version: 0.52
4-
Summary: Package for using processes which mimics the threading module
5-
Home-page: http://developer.berlios.de/projects/pyprocessing
6-
Author: R Oudkerk
7-
Author-email: roudkerk at users.berlios.de
8-
License: BSD Licence
9-
Description: `processing` is a package for the Python language which supports the
10-
spawning of processes using the API of the standard library's
11-
`threading` module. It runs on both Unix and Windows.
12-
13-
Features:
14-
15-
* Objects can be transferred between processes using pipes or
16-
multi-producer/multi-consumer queues.
17-
18-
* Objects can be shared between processes using a server process or
19-
(for simple data) shared memory.
20-
21-
* Equivalents of all the synchronization primitives in `threading`
22-
are available.
23-
24-
* A `Pool` class makes it easy to submit tasks to a pool of worker
25-
processes.
26-
27-
28-
Links
29-
=====
30-
31-
* `Documentation <http://pyprocessing.berlios.de/doc/index.html>`_
32-
* `Installation instructions <http://pyprocessing.berlios.de/doc/INSTALL.html>`_
33-
* `Changelog <http://pyprocessing.berlios.de/doc/CHANGES.html>`_
34-
* `Acknowledgments <http://pyprocessing.berlios.de/doc/THANKS.html>`_
35-
* `BSD Licence <http://pyprocessing.berlios.de/doc/COPYING.html>`_
36-
37-
The project is hosted at
38-
39-
* http://developer.berlios.de/projects/pyprocessing
40-
41-
The package can be downloaded from
42-
43-
* http://developer.berlios.de/project/filelist.php?group_id=9001 or
44-
* http://pypi.python.org/pypi/processing
45-
46-
47-
Examples
48-
========
49-
50-
The `processing.Process` class follows the API of `threading.Thread`.
51-
For example ::
52-
53-
from processing import Process, Queue
54-
55-
def f(q):
56-
q.put('hello world')
57-
58-
if __name__ == '__main__':
59-
q = Queue()
60-
p = Process(target=f, args=[q])
61-
p.start()
62-
print q.get()
63-
p.join()
64-
65-
Synchronization primitives like locks, semaphores and conditions are
66-
available, for example ::
67-
68-
>>> from processing import Condition
69-
>>> c = Condition()
70-
>>> print c
71-
<Condition(<RLock(None, 0)>), 0>
72-
>>> c.acquire()
73-
True
74-
>>> print c
75-
<Condition(<RLock(MainProcess, 1)>), 0>
76-
77-
One can also use a manager to create shared objects either in shared
78-
memory or in a server process, for example ::
79-
80-
>>> from processing import Manager
81-
>>> manager = Manager()
82-
>>> l = manager.list(range(10))
83-
>>> l.reverse()
84-
>>> print l
85-
[9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
86-
>>> print repr(l)
87-
<Proxy[list] object at 0x00E1B3B0>
88-
89-
Tasks can be offloaded to a pool of worker processes in various ways,
90-
for example ::
91-
92-
>>> from processing import Pool
93-
>>> def f(x): return x*x
94-
...
95-
>>> p = Pool(4)
96-
>>> result = p.mapAsync(f, range(10))
97-
>>> print result.get(timeout=1)
98-
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
99-
100-
101-
102-
Platform: Unix and Windows
103-
Classifier: Development Status :: 4 - Beta
104-
Classifier: Intended Audience :: Developers
105-
Classifier: Programming Language :: Python
1+
Metadata-Version: 1.1
2+
Name: multiprocess
3+
Version: 0.70.1
4+
Summary: Package for using processes which mimics the threading module
5+
Home-page: http://developer.berlios.de/projects/pyprocessing
6+
Author: Mike McKerns
7+
Author-email: [email protected]
8+
License: BSD
9+
Download-URL: http://dev.danse.us/packages/
10+
Description:
11+
`Multiprocessing` is a package for the Python language which supports the
12+
spawning of processes using the API of the standard library's
13+
`threading` module. `multiprocessing` has been distributed in the standard
14+
library since python 2.6.
15+
16+
Features:
17+
18+
* Objects can be transferred between processes using pipes or
19+
multi-producer/multi-consumer queues.
20+
21+
* Objects can be shared between processes using a server process or
22+
(for simple data) shared memory.
23+
24+
* Equivalents of all the synchronization primitives in `threading`
25+
are available.
26+
27+
* A `Pool` class makes it easy to submit tasks to a pool of worker
28+
processes.
29+
30+
31+
Platform: UNKNOWN
32+
Classifier: Development Status :: 5 - Production/Stable
33+
Classifier: Intended Audience :: Developers
34+
Classifier: Programming Language :: Python
35+
Classifier: Programming Language :: C
36+
Classifier: Programming Language :: Python :: 2
37+
Classifier: Programming Language :: Python :: 2.6
38+
Classifier: Programming Language :: Python :: 2.7
39+
Classifier: Programming Language :: Python :: 3
40+
Classifier: Programming Language :: Python :: 3.3
41+
Classifier: Programming Language :: Python :: 3.4

README.txt

Lines changed: 0 additions & 110 deletions
This file was deleted.

setup.py

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,38 @@
191191
if macros.get('HAVE_SEM_OPEN', False):
192192
multiprocessing_srcs.append('%s/semaphore.c' % srcdir)
193193

194-
long_description = open(os.path.join(HERE, 'README.txt')).read()
195-
long_description += """
194+
long_description = '''
195+
`Multiprocessing` is a package for the Python language which supports the
196+
spawning of processes using the API of the standard library's
197+
`threading` module. `multiprocessing` has been distributed in the standard
198+
library since python 2.6.
196199
197-
===========
198-
Changes
199-
===========
200+
Features:
200201
201-
"""
202-
long_description += open(os.path.join(HERE, 'CHANGES.txt')).read()
203-
if not is_py3k:
204-
long_description = long_description.encode('ascii', 'replace')
202+
* Objects can be transferred between processes using pipes or
203+
multi-producer/multi-consumer queues.
204+
205+
* Objects can be shared between processes using a server process or
206+
(for simple data) shared memory.
207+
208+
* Equivalents of all the synchronization primitives in `threading`
209+
are available.
205210
211+
* A `Pool` class makes it easy to submit tasks to a pool of worker
212+
processes.
213+
214+
'''
215+
#long_description = open(os.path.join(HERE, 'README.md')).read()
216+
#long_description += """
217+
#
218+
#===========
219+
#Changes
220+
#===========
221+
#
222+
#"""
223+
#long_description += open(os.path.join(HERE, 'CHANGES.txt')).read()
224+
#if not is_py3k:
225+
# long_description = long_description.encode('ascii', 'replace')
206226

207227
# -*- Installation Requires -*-
208228
py_version = sys.version_info

0 commit comments

Comments
 (0)