Skip to content

v2.1.6: Support pip install

Choose a tag to compare

@Shiyong-Tan Shiyong-Tan released this 05 Jan 02:46
· 125 commits to main since this release

This release introduces full pip installation support, simplifying the setup process and ensuring all dependencies are correctly managed.

馃殌 Installation

You can now install OpenLPT directly via pip:

pip install "openlpt[gui]"

If your platform can't support pySide6, you can install OpenLPT without GUI:

pip install openlpt

馃洜 Usage

Launch the GUI or run a calculation directly from your terminal:

openlpt                       # Launch GUI
openlpt path/to/config.txt    # Run with a specific config

馃悕 Python API

Integrate OpenLPT directly into your Python scripts:

import openlpt as lpt

鈿狅笍 Mandatory One-Time Manual Update for Source Users (git clone)

Important

If the "Update Now" button fails with a fatal: not a git repository error:
This version (v2.1.6) fixes a critical path-detection bug in older versions. To upgrade:

  1. Open your File Explorer in the OpenLPT_GUI root folder (where [install_windows.bat] is).
  2. Click the address bar at the top, type cmd, and press Enter.
  3. Run: git pull

Once updated to v2.1.3, all future updates will work automatically via the GUI.

Thanks for using OpenLPT!