From: Chih-Jen Lin Date: Mon, 15 Feb 2021 11:45:27 +0000 (+0800) Subject: change version number for 2.43 release X-Git-Tag: v243~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acf2f9caf166574a23912fe0e57e16187f74f5a6;p=liblinear change version number for 2.43 release change year in COPYRIGHT improve installation description in python/README --- diff --git a/COPYRIGHT b/COPYRIGHT index 3efc024..13fb567 100644 --- 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 diff --git a/linear.h b/linear.h index 7948ab2..54680cb 100644 --- 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" { diff --git a/python/README b/python/README index 03d398c..68a10c3 100644 --- a/python/README +++ b/python/README @@ -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 =========== diff --git a/python/setup.py b/python/setup.py index d462d4b..b581e5e 100644 --- a/python/setup.py +++ b/python/setup.py @@ -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"