From 7f3365e2b98efe0de5b19967e16e5a2c34ce167c Mon Sep 17 00:00:00 2001 From: "T.Tian" Date: Wed, 14 Oct 2020 13:23:04 +0200 Subject: [PATCH] revert the console script name --- examples/ex10_executable.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ex10_executable.py b/examples/ex10_executable.py index bd2d19a..aaaed24 100644 --- a/examples/ex10_executable.py +++ b/examples/ex10_executable.py @@ -31,7 +31,7 @@ def call_exe(name, extras="", output=None): print(f) os.remove(f) # Initial name - cmd = "wdf_export {0} {1}".format(filename.as_posix(), + cmd = "wdf-export {0} {1}".format(filename.as_posix(), extras) if output is not None: cmd += "-o {0}".format(output) diff --git a/setup.py b/setup.py index 64e6a38..339ebfa 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ # from setuptools.command.install import install NAME = "renishawWiRE" -VERSION = "0.1.11" +VERSION = "0.1.12" DESCRIPTION = open("README.md", encoding="utf-8").read() @@ -64,7 +64,7 @@ def verify_version(): # "bin/wdf-export", #], entry_points = { - "console_scripts": ["wdf_export=renishawWiRE.export:main"], + "console_scripts": ["wdf-export=renishawWiRE.export:main"], }, python_requires=">=3.6", # cmdclass={"verify": VerifyVersionCommand},