From f731bc88e33e3bae160c70839dda60941d2893e6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 30 Aug 2013 14:08:46 +0900 Subject: [PATCH] move ryu-manager to entrypoints Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- ryu/cmd/__init__.py | 0 bin/ryu-manager => ryu/cmd/manager.py | 0 setup.cfg | 6 ++++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 ryu/cmd/__init__.py rename bin/ryu-manager => ryu/cmd/manager.py (100%) diff --git a/ryu/cmd/__init__.py b/ryu/cmd/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/bin/ryu-manager b/ryu/cmd/manager.py similarity index 100% rename from bin/ryu-manager rename to ryu/cmd/manager.py diff --git a/setup.cfg b/setup.cfg index e5a38037..fd497747 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,8 +25,6 @@ packages = data_files = etc/ryu = etc/ryu/ryu.conf -scripts = - bin/ryu-manager [build_sphinx] all_files = 1 @@ -47,3 +45,7 @@ doc_files = LICENSE setup-hooks = pbr.hooks.setup_hook ryu.hooks.setup_hook + +[entry_points] +console_scripts = + ryu-manager = ryu.cmd.manager:main