Skip to content

Commit dc6647e

Browse files
Refixed issues #9
1 parent e18dded commit dc6647e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mkl_fft/_pydfti.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

27+
from __future__ import absolute_import
2728
import numpy as np
2829
cimport numpy as cnp
2930
try:

mkl_fft/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
def configuration(parent_package='',top_path=None):
3232
from numpy.distutils.misc_util import Configuration
3333
from numpy.distutils.system_info import get_info
34-
config = Configuration('', parent_package, top_path)
34+
config = Configuration('mkl_fft', parent_package, top_path)
3535

3636
pdir = dirname(__file__)
3737
wdir = join(pdir, 'src')
@@ -50,7 +50,8 @@ def configuration(parent_package='',top_path=None):
5050
'Cython is required to build the initial .c file.')
5151

5252
config.add_extension(
53-
'_pydfti',
53+
name = '_pydfti',
54+
# module_name = 'mkl_fft._pydfti',
5455
sources = [
5556
join(wdir, 'mklfft.c.src'),
5657
join(wdir, 'multi_iter.c'),

0 commit comments

Comments
 (0)