From ebb70049da169c319a76eec1f1302acea2928882 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Tue, 28 Sep 2021 18:04:46 +0200 Subject: [PATCH] add cli commands to the package --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index a6d55d7..6a191de 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,3 +9,9 @@ packages = test_pip python_requires = >=3.6 package_dir = =src zip_safe = no + +[options.entry_points] +console_scripts = + cmd1=test_pip.someCode:function1 + cmd2=test_pip.someCode:function2 + my-super-command=test_pip.someCode:main