Skip to content

Commit 3f92747

Browse files
committed
Fix console entry point for purldb CLI #622
The console_scripts entry point in setup.cfg incorrectly referenced "purldb:command_line". There is no top-level purldb module in the repository, which caused the generated CLI wrapper to fail with: ModuleNotFoundError: No module named 'purldb' The command_line function is defined in purldb_project, so the entry point must reference "purldb_project:command_line". This restores the functionality of the `purldb` CLI command when running inside Docker as documented in the installation guide. Signed-off-by: Adharsh Baswaraj <adharshbaswaraj@gmail.com>
1 parent 891ce72 commit 3f92747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ dev =
9797

9898
[options.entry_points]
9999
console_scripts =
100-
purldb = purldb:command_line
100+
purldb = purldb_project:command_line
101101

102102
scancodeio_pipelines =
103103
matching = matchcode_pipeline.pipelines.matching:Matching

0 commit comments

Comments
 (0)