Skip to content

Commit 7c9ae67

Browse files
author
AshleySetter
committed
working compilation from cython generated C code
1 parent 04708c0 commit 7c9ae67

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎cythonSumPackage/cythonSumPackage/cythonSumPackage/__init__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66

77
import cythonSumPackage.SumArrayCython
88
import cythonSumPackage.UseSumArrayCython
9+
import cythonSumPackage.SumArray
910
from . import core
1011
from .core import *

‎cythonSumPackage/cythonSumPackage/setup.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
extensions = [
66
Extension(
7-
name="SumArrayCython",
8-
sources=["cythonSumPackage/SumArrayCython/SumArray.c"],)
7+
name="cythonSumPackage.SumArray",
8+
sources=["cythonSumPackage/SumArrayCython/SumArray.c"],
9+
include_dirs = [numpy.get_include()])
910
]
1011

1112
setup(name='cythonSumPackage',

0 commit comments

Comments
 (0)