From 893836fb0974480b9486964f72ccb9044ebba00e Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 15 Oct 2019 16:54:31 +0800 Subject: [PATCH] rename nvchecker.main to nvchecker.__main__ closes #116 --- nvchecker/{main.py => __main__.py} | 0 setup.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename nvchecker/{main.py => __main__.py} (100%) diff --git a/nvchecker/main.py b/nvchecker/__main__.py similarity index 100% rename from nvchecker/main.py rename to nvchecker/__main__.py diff --git a/setup.py b/setup.py index 8853f61..2deac9e 100755 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( ], entry_points = { 'console_scripts': [ - 'nvchecker = nvchecker.main:main', + 'nvchecker = nvchecker.__main__:main', 'nvtake = nvchecker.tools:take', 'nvcmp = nvchecker.tools:cmp', ],