Skip to content

Commit c6f6450

Browse files
committed
Add pure Python malloc version to build file
1 parent 9172fc9 commit c6f6450

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

source-code/cython/Primes/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ primes_cython.c
22
primes_cython3.c
33
primes_pure_python.c
44
primes_malloc.c
5+
primes_pure_malloc.c

source-code/cython/Primes/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from Cython.Build import cythonize
55

66
setup(
7-
ext_modules=cythonize(['primes_cython.pyx', 'primes_pure_python.py', 'primes_malloc.pyx'],
7+
ext_modules=cythonize(['primes_cython.pyx', 'primes_pure_python.py',
8+
'primes_malloc.pyx', 'primes_pure_malloc.py'],
89
language_level='3str')
910
)

0 commit comments

Comments
 (0)