From b74efcdae44d9240e0ad1bb39966ff8275cf4f86 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Mon, 20 Jul 2026 20:13:26 +0800 Subject: [PATCH] Use PyPI AutoOptLib dependency --- README.md | 10 ++++++++-- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 222af0f..6e3fca7 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,13 @@ application results can be reproduced here. ## Installation -Python 3.9--3.11 is supported. Clone only this repository and install it from +Python 3.9--3.11 is supported. Install the released package from PyPI: + +```bash +python -m pip install aldes +``` + +For an editable source installation, clone this repository and install it from the repository root: ```bash @@ -34,7 +40,7 @@ python -m pip install -e . ``` The installation automatically downloads the compatible -`autooptlib[aldes]` dependency from the official AutoOptLib GitHub release. +`autooptlib[aldes]` dependency from PyPI. Users do not need to clone AutoOptLib separately. The Python import name is lowercase: diff --git a/pyproject.toml b/pyproject.toml index 73978d2..f59a530 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ authors = [ { name = "Yuhui Shi" }, ] dependencies = [ - "autooptlib[aldes] @ git+https://github.com/auto4opt/AutoOptLib.git@v1.3.0", + "autooptlib[aldes]>=1.3,<2", "numpy>=1.23,<3", "scipy>=1.9,<2", ]