From 8b590466c4088cd86b44dee787bf7f275ef26f31 Mon Sep 17 00:00:00 2001 From: kevin1kevin1k Date: Fri, 12 Feb 2021 00:51:52 +0800 Subject: [PATCH] Fix package name and README --- python/README | 2 +- python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/README b/python/README index 349d8a7..b7325d1 100644 --- a/python/README +++ b/python/README @@ -28,7 +28,7 @@ Installation To install via pip or conda, run -> pip install -U liblinear +> pip install -U liblinear-official Alternatively, you may also directly use the Python interface without installing this package; see the following. diff --git a/python/setup.py b/python/setup.py index cd656ee..d462d4b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -67,7 +67,7 @@ def create_cpp_source(): class CleanCommand(clean_cmd): def run(self): clean_cmd.run(self) - to_be_removed = ["build/", "dist/", "MANIFEST", cpp_dir, "{}.egg-info".format(PACKAGE_DIR)] + to_be_removed = ["build/", "dist/", "MANIFEST", cpp_dir, "{}.egg-info".format(PACKAGE_NAME)] to_be_removed += glob("./{}/{}.*".format(PACKAGE_DIR, dynamic_lib_name)) for root, dirs, files in os.walk(os.curdir, topdown=False): if "__pycache__" in dirs: -- 2.50.1