|
@@ -1,9 +1,10 @@ |
|
|
#!/usr/bin/env python |
|
|
#!/usr/bin/env python |
|
|
|
|
|
|
|
|
from distutils.core import setup, Extension |
|
|
from distutils.core import setup, Extension |
|
|
|
|
|
import numpy |
|
|
|
|
|
|
|
|
setup(name = "permanent", |
|
|
setup(name = "permanent", |
|
|
version = "0.1.2", |
|
|
|
|
|
|
|
|
version = "0.1.3", |
|
|
description = "Calculates the permanent of a Numpy matrix", |
|
|
description = "Calculates the permanent of a Numpy matrix", |
|
|
author = "Pete Shadbolt", |
|
|
author = "Pete Shadbolt", |
|
|
author_email = "pete.shadbolt@gmail.com", |
|
|
author_email = "pete.shadbolt@gmail.com", |
|
@@ -13,7 +14,8 @@ setup(name = "permanent", |
|
|
ext_modules = [ |
|
|
ext_modules = [ |
|
|
Extension( |
|
|
Extension( |
|
|
'permanent.permanent', ['./src/permanent.c'], |
|
|
'permanent.permanent', ['./src/permanent.c'], |
|
|
extra_compile_args=["-Ofast", "-march=native"]), |
|
|
|
|
|
|
|
|
extra_compile_args=["-Ofast", "-march=native"], |
|
|
|
|
|
include_dirs=[numpy.get_include()]), |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
) |
|
|
) |