Install setup tools for 2.6

2009-08-05 Thread Jeremy Cowles
Ok, I feel like this is a really stupid question, but how do you install setup tools for Python 2.6 under windows? The only format is .egg which requires setup tools to install, doesn't it? Thanks, Jeremy -- http://mail.python.org/mailman/listinfo/python-list

Bug with Python, Cygwin and /dev/urandom?

2009-07-31 Thread Jeremy Cowles
urllib2.py is crashes when calling randombytes(n). I run the following under Cygwin (mimicking how randombytes works): $ python Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type help, copyright, credits or license for more

Import hashlib fails, embedded

2009-07-19 Thread Jeremy Cowles
I'm working on an embeddded Python interpreter (using the c-api) where we are loading a custom, zipped copy of the standard Python library (./lib/python25.zip). Everything is working fine, but when I try to import hashlib, i get the following error: Traceback (most recent call last): File

Zipped Python?

2009-07-04 Thread Jeremy Cowles
Hi all, I'm looking for a full 2.5 or 2.6 version of Python that is zipped (i.e. no install). My intentions are to use it for a distributed computing project (PyMW) where there is no guarantee that Python is installed on the worker machines and an interactive install is out of the question. I've

Re: Zipped Python?

2009-07-04 Thread Jeremy Cowles
I'm looking for a full 2.5 or 2.6 version of Python that is zipped (i.e. no install). My intentions are to use it for a distributed computing project (PyMW) where there is no guarantee that Python is installed on the worker machines and an interactive install is out of the question. I've

Distributed computing sending the interpreter

2009-06-13 Thread Jeremy Cowles
Hi all, I'm working on a distributed computing project (PyMW and BOINC) where we are sending Python scripts to client machines. Currently, we make two very unlikely assumptions: that Python 2.5 is installed and that the interpreter is available on the PATH. We are looking at our options to remove