mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
io: Add plugin .ini files to setup as data files.
This commit is contained in:
@@ -12,6 +12,8 @@ def configuration(parent_package='', top_path=None):
|
||||
if dirname.split(os.path.sep)[-1] == 'tests':
|
||||
config.add_data_dir(dirname)
|
||||
|
||||
config.add_data_files('io/_plugins/*.ini')
|
||||
|
||||
# Add test directories
|
||||
from os.path import isdir, dirname, join, abspath
|
||||
rel_isdir = lambda d: isdir(join(curpath, d))
|
||||
|
||||
Reference in New Issue
Block a user