Fix setup.py cascade

This commit is contained in:
Juan Nunez-Iglesias
2015-02-03 15:34:56 +11:00
parent d2d50e9391
commit 008775853f
4 changed files with 43 additions and 3 deletions
-3
View File
@@ -17,7 +17,6 @@ def configuration(parent_package='', top_path=None):
cython(['_spath.pyx'], working_path=base_path)
cython(['_mcp.pyx'], working_path=base_path)
cython(['heap.pyx'], working_path=base_path)
cython(['_ncut_cy.pyx'], working_path=base_path)
config.add_extension('_spath', sources=['_spath.c'],
include_dirs=[get_numpy_include_dirs()])
@@ -25,8 +24,6 @@ def configuration(parent_package='', top_path=None):
include_dirs=[get_numpy_include_dirs()])
config.add_extension('heap', sources=['heap.c'],
include_dirs=[get_numpy_include_dirs()])
config.add_extension('_ncut_cy', sources=['_ncut_cy.c'],
include_dirs=[get_numpy_include_dirs()])
return config
if __name__ == '__main__':