diff --git a/conda/meta.yaml b/conda/meta.yaml index edc43b3ef4c00e6c0f10be92b788f43e8ac88237..45a60d0854a69dc10e21f6b01caa519dbdeda6c4 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -28,14 +28,14 @@ requirements: - docopt {{ docopt }} - scikit-image {{ scikit_image }} - matplotlib {{ matplotlib }} - - clapp + - clapper - bob.io.base - bob.bio.base run: - python - setuptools - - clapp + - clapper - bob.io.base - bob.bio.base - {{ pin_compatible('numpy') }} diff --git a/pyproject.toml b/pyproject.toml index 3e0f3ac755887f3c94827ae0a931165d86c5ab4b..9953aa26a62c63ea09e05126992a7c31b0066b01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ "docopt", "scikit-image", "matplotlib", - "clapp", + "clapper", "bob.io.base", "bob.bio.base", ] diff --git a/src/bob/bio/vein/database/utfvp.py b/src/bob/bio/vein/database/utfvp.py index cce9ad25a1145f1e4e2e8fb9a3b1348b7ede7559..16176753c23a485c1c38e033a479e442a00a50d0 100644 --- a/src/bob/bio/vein/database/utfvp.py +++ b/src/bob/bio/vein/database/utfvp.py @@ -6,7 +6,7 @@ Utfvp database implementation """ -from clapp.rc import UserDefaults +from clapper.rc import UserDefaults from sklearn.pipeline import make_pipeline import bob.io.base diff --git a/src/bob/bio/vein/database/verafinger_contactless.py b/src/bob/bio/vein/database/verafinger_contactless.py index 26ceb91dda5b685b472a2132ea71b0cf5678e429..5077fe95fa51ee54ff0f288d8727eee8258fafba 100644 --- a/src/bob/bio/vein/database/verafinger_contactless.py +++ b/src/bob/bio/vein/database/verafinger_contactless.py @@ -6,7 +6,7 @@ VERA-Fingervein-Contactless database implementation """ -from clapp.rc import UserDefaults +from clapper.rc import UserDefaults import bob.io.base diff --git a/src/bob/bio/vein/script/blame.py b/src/bob/bio/vein/script/blame.py index bda0e923331dce1050ec2ad119374b8a6a0fa9a7..752ae5dc104340201427df28331cd79ddf3bb8ab 100644 --- a/src/bob/bio/vein/script/blame.py +++ b/src/bob/bio/vein/script/blame.py @@ -37,10 +37,10 @@ Examples: import os import sys -import clapp.logging +import clapper.logging import numpy -logger = clapp.logging.setup("bob.bio.vein") +logger = clapper.logging.setup("bob.bio.vein") def main(user_input=None): @@ -65,7 +65,7 @@ def main(user_input=None): # Sets-up logging verbosity = int(args["--verbose"]) - clapp.logging.set_verbosity_level(logger, verbosity) + clapper.logging.set_verbosity_level(logger, verbosity) # validates number of cases cases = int(args["--cases"]) diff --git a/src/bob/bio/vein/script/compare_rois.py b/src/bob/bio/vein/script/compare_rois.py index 07f63e0bc293a178d81ef1e4610e3727cfdf8d0d..558b886217102cd2c053fc3fc48a7ef6f5bdb3e3 100644 --- a/src/bob/bio/vein/script/compare_rois.py +++ b/src/bob/bio/vein/script/compare_rois.py @@ -48,11 +48,11 @@ import operator import os import sys -import clapp.logging +import clapper.logging import h5py import numpy -logger = clapp.logging.setup("bob.bio.vein") +logger = clapper.logging.setup("bob.bio.vein") def make_catalog(d): @@ -157,7 +157,7 @@ def main(user_input=None): # Sets-up logging verbosity = int(args["--verbose"]) - clapp.logging.set_verbosity_level(logger, verbosity) + clapper.logging.set_verbosity_level(logger, verbosity) # Catalogs gt = make_catalog(args["<ground-truth>"]) diff --git a/src/bob/bio/vein/script/validate.py b/src/bob/bio/vein/script/validate.py index 937418e90f9aec47fd48f51de55b1dc10fe9b7ed..92a72bacd9e075d67247c2fe14e40ef028d86c5d 100644 --- a/src/bob/bio/vein/script/validate.py +++ b/src/bob/bio/vein/script/validate.py @@ -36,9 +36,9 @@ def setup_logger(name, level): """ - import clapp.logging + import clapper.logging - logger = clapp.logging.setup(name) + logger = clapper.logging.setup(name) if not (0 <= level < 4): raise schema.SchemaError( @@ -46,7 +46,7 @@ def setup_logger(name, level): ) # Sets-up logging - clapp.logging.set_verbosity_level(logger, level) + clapper.logging.set_verbosity_level(logger, level) return logger diff --git a/src/bob/bio/vein/script/view_sample.py b/src/bob/bio/vein/script/view_sample.py index 9bc5041161ed9d133184d0f0fd175462b14ed9e6..fc136565895b2a2986c9f8f8210a734f8154dc3c 100644 --- a/src/bob/bio/vein/script/view_sample.py +++ b/src/bob/bio/vein/script/view_sample.py @@ -46,13 +46,13 @@ Examples: import os import sys -import clapp.logging +import clapper.logging import docopt import h5py import numpy import schema -logger = clapp.logging.setup("bob.bio.vein") +logger = clapper.logging.setup("bob.bio.vein") import matplotlib.pyplot as mpl