~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to chaco/speedups.py

  • Committer: Package Import Robot
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2014-06-01 17:04:08 UTC
  • mfrom: (7.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20140601170408-m86xvdjd83a4qon0
Tags: 4.4.1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
 - Let the binary-predeb target work on the usr/lib/python* directory
   as we don't have usr/share/pyshared anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
 
2
# This contains python implementations of all the speedups
2
3
from _speedups_fallback import *
3
4
 
 
5
 
 
6
# cython implementation of speedups. Import these if we can.
 
7
try:
 
8
    from _cython_speedups import *
 
9
except ImportError:
 
10
    pass
 
11
 
 
12
 
 
13
 
 
14
 
4
15
#try:
5
16
#    from numpy import asarray
6
17
#    import _speedups