[Python-bugs-list] [Bug #133253] build_ext: --define option doesn't work

noreply@sourceforge.net noreply@sourceforge.net
Tue, 20 Feb 2001 11:46:13 -0800


Bug #133253, was updated on 2001-Feb-20 07:09
Here is a current snapshot of the bug.

Project: Python
Category: Distutils
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: akuchling
Assigned to : gward
Summary: build_ext: --define option doesn't work

Details: The --define switch to the build_ext command doesn't 
work -- presumably it's not putting the right contents
in the .define list.  (Wonder if setting this in setup.cfg also fails?)

ute zodb>python setup.py build_ext --define=_REENTRANT
Running BTree
running build_ext
Traceback (most recent call last):
  File "setup.py", line 24, in ?
    )
  File "/www/plat/python2.0/lib/python2.0/distutils/core.py", line 209, in
run_setup
    execfile(script_name, g, l)
  File "setup.py", line 34, in ?
    ext_modules = modlist
  File "/www/plat/python2.0/lib/python2.0/distutils/core.py", line 138, in
setup    dist.run_commands()
  File "/www/plat/python2.0/lib/python2.0/distutils/dist.py", line 829, in
run_commands
    self.run_command(cmd)
  File "/www/plat/python2.0/lib/python2.0/distutils/dist.py", line 849, in
run_command
    cmd_obj.run()
  File "/www/plat/python2.0/lib/python2.0/distutils/command/build_ext.py",
line
210, in run
    for (name,value) in self.define:
ValueError: unpack sequence of wrong size
You have mail in /var/spool/mail/akuchlin                                  
    

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133253&group_id=5470