#26 BUG in setup/dist.py

closed-out-of-date
nobody
None
5
2002-02-28
2002-02-28
Daniel Holth
No

try:
import Numeric
include_dirs =
find_file(get_python_inc(), 'arrayobject.h')
if not len(include_dirs):

self.announce("Successfully imported Numeric, but can't
find the Numeric headers!")
### LINE 99:
self.NUMERIC = 0
else:
self.include_dirs =
self.include_dirs + include_dirs
self.HAS_NUMERIC = 1
except ImportError:
self.HAS_NUMERIC = 0

### Change line 99 to: self.HAS_NUMERIC = 1

Discussion

    • status: open --> closed-out-of-date
     
  • Logged In: YES
    user_id=21784

    Was already fixed in CVS