Guido van Rossum wrote:
> On 8/20/07, Eric Smith <[EMAIL PROTECTED]> wrote:

>> Modules/Setup.dist contains this comment:
>> # This only contains the minimal set of modules required to run the
>> # setup.py script in the root of the Python source tree.
>>
>> I think this applies to me, as setup.py indirectly includes string.

> You can ignore Makefile* and Modules/Setup*; instead, you should be
> editing setup.py at the toplevel. Since your new module doesn't depend
> on anything external it should be a one-line change, modeled after
> this one:
> 
> exts.append( Extension('_weakref', ['_weakref.c']) )

But if string.py imports _formatter, then setup.py fails with being 
unable to "import string":

$ ./python setup.py
object  : ImportError('No module named _formatter',)
type    : ImportError
refcount: 4
address : 0xf6f9acac
lost sys.stderr

That's why I referenced the comment in Setup.dist.
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to