]> granicus.if.org Git - liblinear/commitdiff
change version number for 2.43 release
authorChih-Jen Lin <cjlin@csie.ntu.edu.tw>
Mon, 15 Feb 2021 11:45:27 +0000 (19:45 +0800)
committerChih-Jen Lin <cjlin@csie.ntu.edu.tw>
Mon, 15 Feb 2021 11:45:27 +0000 (19:45 +0800)
change year in COPYRIGHT

improve installation description in python/README

COPYRIGHT
linear.h
python/README
python/setup.py

index 3efc02470f01f00d9b9751d62d75d0f4c9c52a4e..13fb5674204fea5bce2d4d9fd4c4bf0f3efd44d8 100644 (file)
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
 
-Copyright (c) 2007-2020 The LIBLINEAR Project.
+Copyright (c) 2007-2021 The LIBLINEAR Project.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
index 7948ab24da6d8c64810c6e68f1a5ce98632425cd..54680cb735e5de6c60248a88aef790ba3e8b08c8 100644 (file)
--- a/linear.h
+++ b/linear.h
@@ -1,7 +1,7 @@
 #ifndef _LIBLINEAR_H
 #define _LIBLINEAR_H
 
-#define LIBLINEAR_VERSION 242
+#define LIBLINEAR_VERSION 243
 
 #ifdef __cplusplus
 extern "C" {
index 03d398cb18131f47040811e62826cebe2ba77fd4..68a10c32085233a559317ae058a2646c8f7a7e35 100644 (file)
@@ -6,7 +6,8 @@ Table of Contents
 =================
 
 - Introduction
-- Installation
+- Installation via PyPI
+- Installation via Sources
 - Quick Start
 - Quick Start with Scipy
 - Design Description
@@ -33,39 +34,44 @@ To install the interface from PyPI, execute the following command:
 Installation via Sources
 ========================
 
-Alternateively, you may want to install the interface from sources and generate
-the LIBLINEAR shared library by yourself.
+Alternatively, you may install the interface from sources by
+generating the LIBLINEAR shared library.
 
-Depending on your use cases, you can choose between systemwide installation and
-local directory installation. Microsoft Visual C++ and other tools might be
-required for systemwide installation for windows.
+Depending on your use cases, you can choose between local-directory
+and system-wide installation.
 
-- Systemwide Installation:
+- Local-directory installation:
 
-    To have a systemwide access to the interface, execute the following command:
-
-    > pip install -e .
+    On Unix systems, type
 
-    Please note that you still have to keep the sources after the installation.
+    > make
 
-    In addition, please DON'T use other commands such as
+    This generates a .so file in the LIBLINEAR main directory and you
+    can run the interface in the current python directory.
+    
+    For windows, the shared library liblinear.dll is ready in the
+    directory `..\windows' and you can directly run the interface in
+    the current python directory. You can copy liblinear.dll to the
+    system directory (e.g., `C:\WINDOWS\system32\') to make it
+    system-widely available. To regenerate liblinear.dll, please
+    follow the instruction of building windows binaries in LIBLINEAR
+    README.
 
-    > python setup.py install
+- System-wide installation:
 
-    or
+    Type
 
-    > pip install .
+    > pip install -e .
 
-- Local Directory Installation:
+    Please note that you must keep the sources after the installation.
 
-    On Unix systems, type
+    For windows, to run the above command, Microsoft Visual C++ and
+    other tools are needed.
 
-    > make
+    In addition, DON'T use the following FAILED commands
 
-    For windows, the shared library liblinear.dll is ready in the directory
-    `..\windows'. You can also copy it to the system directory (e.g.,
-    `C:\WINDOWS\system32\' for Windows XP). To regenerate the shared library,
-    please follow the instruction of building windows binaries in LIBLINEAR README.
+    > python setup.py install (failed to run at the python directory)
+    > pip install .
 
 Quick Start
 ===========
index d462d4b9e5c7232ae9b71244809f40396f48bc02..b581e5e3b00f461d36aa3d1e8141745aebff14c9 100644 (file)
@@ -16,7 +16,7 @@ build_ext.get_export_symbols = lambda x, y: []
 
 PACKAGE_DIR = "liblinear"
 PACKAGE_NAME = "liblinear-official"
-VERSION = "2.42.0"
+VERSION = "2.43.0"
 cpp_dir = "cpp-source"
 # should be consistent with dynamic_lib_name in liblinear/liblinear.py
 dynamic_lib_name = "clib"