]> granicus.if.org Git - liblinear/commitdiff
Fix package name and README
authorkevin1kevin1k <kevin1kevin1k@gmail.com>
Thu, 11 Feb 2021 16:51:52 +0000 (00:51 +0800)
committerkevin1kevin1k <kevin1kevin1k@gmail.com>
Thu, 11 Feb 2021 16:51:52 +0000 (00:51 +0800)
python/README
python/setup.py

index 349d8a755170e4ca0c7b0e5de370460d2e8e1387..b7325d11ed8847af2030ea527babd371718add3d 100644 (file)
@@ -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.
 
index cd656ee4cdd7913b3852c9438510ad7285c03a1b..d462d4b9e5c7232ae9b71244809f40396f48bc02 100644 (file)
@@ -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: