Commit 06ba6fcd authored by Tatuya Kamada's avatar Tatuya Kamada

Searching both Numeric and numpy library for using buildout.

It is planned that using numpy instead of Numeric.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28543 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b437f9d
......@@ -26,7 +26,10 @@
#
##############################################################################
from Numeric import *
try:
from numpy import shape, array
except ImportError:
from Numeric import shape, array
MODEL_HEAD = """
/* The number of samples. */
......
......@@ -39,7 +39,10 @@ from Products.ERP5 import _dtmldir
from zLOG import LOG
from Products.ERP5.Capacity.GLPK import solve
from Numeric import zeros, resize
try:
from numpy import zeros, resize
except ImportError:
from Numeric import zeros, resize
from DateTime import DateTime
from Products.ERP5 import DeliverySolver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment