diff --git a/doc/framework.rst b/doc/framework.rst index 2865435837bb64cf53b0a36a33066a4ac016eb6c..d1e070ab1e1f43f695ff26cc2e03dcd7595e1825 100644 --- a/doc/framework.rst +++ b/doc/framework.rst @@ -115,7 +115,7 @@ to provide the group name of the entry points: .. doctest:: entry_point >>> group = 'bob.extension.test_config_load' # the group name of entry points - >>> file1 = 'resource_config' # an entry point name + >>> file1 = 'basic_config' # an entry point name >>> file2 = 'bob.extension.data.load_config' # module name >>> configuration = load([file1, file2], entry_point_group=group) >>> print("a = %d \nb = %d"%(configuration.a, configuration.b)) # doctest: +NORMALIZE_WHITESPACE diff --git a/setup.py b/setup.py index 74e2f1f300889642bdf23f836cc94bd3bea01fdc..17c6f0b825a305c722db79045bcebf0d18de1522 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ setup( ], # some test entry_points 'bob.extension.test_config_load': [ + 'basic_config = bob.extension.data.basic_config', 'resource_config = bob.extension.data.resource_config', ], },