mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Refactor rank filter package for consistent naming
This commit is contained in:
+15
-22
@@ -14,46 +14,39 @@ def configuration(parent_package='', top_path=None):
|
||||
|
||||
cython(['_ctmf.pyx'], working_path=base_path)
|
||||
cython(['_denoise_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/_core8.pyx'], working_path=base_path)
|
||||
cython(['rank/_core16.pyx'], working_path=base_path)
|
||||
cython(['rank/_crank8.pyx'], working_path=base_path)
|
||||
cython(['rank/_crank8_percentiles.pyx'], working_path=base_path)
|
||||
cython(['rank/_crank16.pyx'], working_path=base_path)
|
||||
cython(['rank/_crank16_percentiles.pyx'], working_path=base_path)
|
||||
cython(['rank/_crank16_bilateral.pyx'], working_path=base_path)
|
||||
cython(['rank/percentile_rank.pyx'], working_path=base_path)
|
||||
cython(['rank/bilateral_rank.pyx'], working_path=base_path)
|
||||
cython(['rank/core8_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/core16_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/generic8_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/percentile8_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/generic16_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/percentile16_cy.pyx'], working_path=base_path)
|
||||
cython(['rank/bilateral16_cy.pyx'], working_path=base_path)
|
||||
|
||||
config.add_extension('_ctmf', sources=['_ctmf.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension('_denoise_cy', sources=['_denoise_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs(), '../_shared'])
|
||||
config.add_extension('rank._core8', sources=['rank/_core8.c'],
|
||||
config.add_extension('rank.core8_cy', sources=['rank/core8_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension('rank._core16', sources=['rank/_core16.c'],
|
||||
config.add_extension('rank.core16_cy', sources=['rank/core16_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension('rank._crank8', sources=['rank/_crank8.c'],
|
||||
config.add_extension('rank.generic8_cy', sources=['rank/generic8_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension(
|
||||
'rank._crank8_percentiles', sources=['rank/_crank8_percentiles.c'],
|
||||
'rank.percentile8_cy', sources=['rank/percentile8_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension('rank._crank16', sources=['rank/_crank16.c'],
|
||||
config.add_extension('rank.generic16_cy', sources=['rank/generic16_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension(
|
||||
'rank._crank16_percentiles', sources=['rank/_crank16_percentiles.c'],
|
||||
'rank.percentile16_cy', sources=['rank/percentile16_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension(
|
||||
'rank._crank16_bilateral', sources=['rank/_crank16_bilateral.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension(
|
||||
'rank.percentile_rank', sources=['rank/percentile_rank.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension(
|
||||
'rank.bilateral_rank', sources=['rank/bilateral_rank.c'],
|
||||
'rank.bilateral16_cy', sources=['rank/bilateral16_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
|
||||
return config
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from numpy.distutils.core import setup
|
||||
setup(maintainer='scikit-image Developers',
|
||||
|
||||
Reference in New Issue
Block a user