Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
8a3a081
Try building wheels for windows-11-arm
cvanaret Dec 16, 2025
0edb610
Removed windows-11-arm, added windows-2022
cvanaret Dec 16, 2025
3b58096
Install pkgconfiglite for Windows
cvanaret Dec 16, 2025
1466d1a
New attempt
cvanaret Dec 16, 2025
8324a5a
Install msys2/setup-msys2 for Windows
cvanaret Dec 16, 2025
d1a5adb
Set environment variables
cvanaret Dec 16, 2025
e2f7d65
Trying with rlalik/setup-cpp-compiler@master
cvanaret Dec 16, 2025
c69a125
Try pdfo's workflow
cvanaret Dec 16, 2025
1c79994
Use pypa/[email protected]
cvanaret Dec 16, 2025
cb90f56
Remove Python install
cvanaret Dec 16, 2025
e2beb24
Relaxed constraint on scikit-build-core version
cvanaret Dec 16, 2025
bffcc9f
Removed all constraints in pyproject.toml
cvanaret Dec 16, 2025
c3a04dd
Reverting
cvanaret Dec 16, 2025
8841154
Try with delvewheel
cvanaret Dec 16, 2025
f273408
New attempt
cvanaret Dec 16, 2025
1e174c9
Added parameters to msys2/setup-msys2@v2
cvanaret Dec 16, 2025
de99fdb
Trying with pypa/[email protected]
cvanaret Dec 16, 2025
ea1dee7
Skip Python 3.6 and 3.7
cvanaret Dec 16, 2025
0d8a604
Skip PyPy
cvanaret Dec 16, 2025
0be600b
Skip manylinux_i686
cvanaret Dec 16, 2025
50526e4
Skip win32
cvanaret Dec 16, 2025
1537d84
Skip all i686
cvanaret Dec 16, 2025
16f0a70
Set CIBW_ENVIRONMENT_WINDOWS differently
cvanaret Dec 17, 2025
9c96547
Fix
cvanaret Dec 17, 2025
f8f6b3a
Try without setting env variables
cvanaret Dec 17, 2025
91ede75
Minor changes
cvanaret Jan 29, 2026
106a05b
Trying to install mingw-w64-x86_64-cmake
cvanaret Jan 29, 2026
01de420
Trying pipx run cibuildwheel
cvanaret Jan 29, 2026
e80fe03
Trying [[tool.cibuildwheel.overrides]]
cvanaret Jan 29, 2026
e4430b1
Minor changes
cvanaret Jan 29, 2026
53b749b
Downgraded CMake version
cvanaret Jan 29, 2026
99b0389
Trying with pacboy
cvanaret Jan 29, 2026
cad21de
Install Python after msys2
cvanaret Feb 2, 2026
3c2d2d4
Trying to install mingw-w64-python
cvanaret Feb 2, 2026
90a8076
Fix
cvanaret Feb 2, 2026
dfa6187
Use cibuildwheel action
cvanaret Feb 2, 2026
c0f22e8
Setting CMAKE_GENERATOR
cvanaret Feb 2, 2026
41fc61e
Set msys2 {0}
cvanaret Feb 10, 2026
17a6b70
Set compilers as env variables
cvanaret Feb 10, 2026
d2b3851
Fix CIBW_ENVIRONMENT_WINDOWS
cvanaret Feb 10, 2026
8522788
Set CMAKE_GENERATOR
cvanaret Feb 10, 2026
41d61cb
Fix CIBW_ENVIRONMENT_WINDOWS
cvanaret Feb 10, 2026
aac6cab
Fix CIBW_ENVIRONMENT_WINDOWS
cvanaret Feb 10, 2026
42d7238
Try setting PATH
cvanaret Feb 10, 2026
2f60c2b
Removed PATH
cvanaret Feb 10, 2026
7566004
Try to set PATH directly in env
cvanaret Feb 10, 2026
16a7d08
Prepend MSYS2 to PATH
cvanaret Feb 10, 2026
ba7750a
Fix
cvanaret Feb 10, 2026
5433586
Reverted
cvanaret Feb 10, 2026
11e84ea
Trying UCRT64 for fun
cvanaret Feb 10, 2026
9e31b54
Revert
cvanaret Feb 10, 2026
bd1a1f1
Try to help Charlie
amontoison Feb 11, 2026
f7442f4
Try again to help Charlie
amontoison Feb 11, 2026
7c0a57e
Try again to prepend MSYS2 to PATH + remove bash call
cvanaret Feb 11, 2026
0712e5a
Fix CIBW_BEFORE_BUILD_WINDOWS
cvanaret Feb 11, 2026
ee60231
Got rid of cd $PWD
cvanaret Feb 11, 2026
2b66682
Fixed paths with {project}
cvanaret Feb 11, 2026
1df3f1f
Fix CIBW_BEFORE_BUILD_WINDOWS
cvanaret Feb 11, 2026
b18b480
Fix CIBW_BEFORE_BUILD_WINDOWS
cvanaret Feb 11, 2026
8588a46
Fix CIBW_BEFORE_BUILD_WINDOWS
cvanaret Feb 11, 2026
4d8cda4
Some more fixes
cvanaret Feb 11, 2026
c2607c3
Fix in PATH
cvanaret Feb 11, 2026
d3676c3
Trying with |
cvanaret Feb 11, 2026
2faaf71
Fixed syntax in CIBW_ENVIRONMENT_WINDOWS
cvanaret Feb 11, 2026
74b52c2
Fixes
cvanaret Feb 11, 2026
8183e45
Fixes
cvanaret Feb 11, 2026
8ac4309
Fix in CIBW_ENVIRONMENT_WINDOWS
cvanaret Feb 11, 2026
95234a2
Use MinGW Python
cvanaret Feb 11, 2026
bface9a
Fix
cvanaret Feb 11, 2026
d2d1b0d
Fix
cvanaret Feb 11, 2026
833fcc3
Fix
cvanaret Feb 11, 2026
5ec7d12
Install mingw-w64 11.2.0
cvanaret Feb 11, 2026
5d077bb
Try with LLVM
cvanaret Feb 11, 2026
99ae7e8
Install mingw-w64 v11.2 with choco
cvanaret Feb 11, 2026
db39471
Switch to windows-latest
cvanaret Feb 11, 2026
10da30b
Apparently, MinGW is already installed on windows-latest
cvanaret Feb 11, 2026
81f08f5
Added case in download_dependencies.sh
cvanaret Feb 11, 2026
7be1ba8
Use the new UnoUtils_jll.jl
amontoison Feb 16, 2026
7b0b308
Update pyproject.toml
amontoison Feb 17, 2026
57240ff
Fix the overrides on Windows
amontoison Feb 17, 2026
b5c3da9
Update pyproject.toml
amontoison Feb 17, 2026
3a9ca6e
Added section "Who uses Uno" in README.md [skip ci]
cvanaret Feb 17, 2026
98613fa
Updated README [skip ci]
cvanaret Feb 17, 2026
69b958a
Cleaned up calls to `check_termination()` in globalization mechanisms…
cvanaret Feb 17, 2026
1d448d2
Updated README [skip ci]
cvanaret Feb 18, 2026
3ed4b40
[UnoSolver.jl] Fix support for MOI.Parameter constraints (#523)
amontoison Feb 19, 2026
0f5c86b
Added SYSTEM to all target_include_directories() to avoid checking 3r…
cvanaret Feb 19, 2026
9f62605
[UnoSolver.jl] Release 0.2.1
amontoison Feb 19, 2026
32d2157
Update credits and contributor information in README
amontoison Feb 20, 2026
995b1d9
TODOs and cleanups (#524)
cvanaret Feb 20, 2026
8a12d6c
Updated bibtex entry [skip ci]
cvanaret Feb 23, 2026
017fdde
Use BLAS for `Vector::scale` (#528)
cvanaret Feb 23, 2026
abf1388
`Vector` and `VectorView` inherit from `BLASVector` (#529)
cvanaret Feb 24, 2026
9fdc86e
Removed useless data structures in COOWorkspace + modified signature …
cvanaret Feb 25, 2026
cc85c0c
`MutableBLASVector`: pick specialized `operator=` if `.data()` is ava…
cvanaret Feb 25, 2026
77dc6e9
[WIP] L-BFGS approximation for SQP methods (#512)
cvanaret Feb 26, 2026
b9c876c
Prep for v2.4.0 (#532)
cvanaret Feb 27, 2026
bdce819
[UnoSolver.jl] Release 0.2.2 (#533)
amontoison Feb 27, 2026
121445d
[unopy] Test release v0.2.1 (#534)
cvanaret Feb 27, 2026
620a644
[unopy] Release v0.2.1 (#535)
cvanaret Feb 27, 2026
2afd633
[UnoSolver.jl] Pass the preset before the other options (#538)
amontoison Feb 28, 2026
dcd8633
[UnoSolver.jl] Release 0.2.3 (#539)
cvanaret Feb 28, 2026
c2bc683
Basic Readthedocs documentation (#540)
cvanaret Mar 2, 2026
429fba9
[unopy] Release v0.2.2 (fixed macOS wheels) (#543)
cvanaret Mar 3, 2026
74a63a0
[CI] Test PyPI's unopy (#542)
cvanaret Mar 3, 2026
d652a79
[unopy] Release v0.2.3 (fixed access to model components in `PythonMo…
cvanaret Mar 3, 2026
2187216
Use pypa/[email protected]
cvanaret Dec 16, 2025
9eabab4
Reverting
cvanaret Dec 16, 2025
382b85c
Try with delvewheel
cvanaret Dec 16, 2025
9fe5424
New attempt
cvanaret Dec 16, 2025
1f9b1c7
Trying with pypa/[email protected]
cvanaret Dec 16, 2025
6ed286a
Fix
cvanaret Dec 17, 2025
51feffc
Minor changes
cvanaret Jan 29, 2026
d200aeb
Trying to install mingw-w64-x86_64-cmake
cvanaret Jan 29, 2026
667d7a6
Trying pipx run cibuildwheel
cvanaret Jan 29, 2026
0c7f639
Trying with pacboy
cvanaret Jan 29, 2026
d4c0ea6
Trying to install mingw-w64-python
cvanaret Feb 2, 2026
81e8e5f
Set msys2 {0}
cvanaret Feb 10, 2026
a2b93df
Try setting PATH
cvanaret Feb 10, 2026
47a6796
Install mingw-w64 11.2.0
cvanaret Feb 11, 2026
57532f7
Install mingw-w64 v11.2 with choco
cvanaret Feb 11, 2026
ae528ed
Fixed rebasing
cvanaret Mar 4, 2026
35ecad9
Merge branch 'main' into wheels_windows
cvanaret Mar 4, 2026
4e3be4d
Fixes
cvanaret Mar 4, 2026
61f8f39
Use cibuildwheel action
cvanaret Mar 4, 2026
0c1ac38
Cleaned up
cvanaret Mar 4, 2026
13d877c
Fixed call to cibuildwheel action
cvanaret Mar 4, 2026
0f98850
Fixed workflow
cvanaret Mar 4, 2026
7e18276
Trying with CIBW_CONFIG_SETTINGS_WINDOWS
cvanaret Mar 4, 2026
19a31f5
[unopy] Test release v0.2.4
cvanaret Mar 4, 2026
c1a0137
[unopy] Test release v0.2.4+1 (call cibuildwheel directly + test Test…
cvanaret Mar 4, 2026
986adbb
Fix shell
cvanaret Mar 4, 2026
3c49b30
Fixed shell
cvanaret Mar 4, 2026
e2987f6
[unopy] Test release v0.2.4+1
cvanaret Mar 4, 2026
1e3a767
Rebuild Uno with the CXX11 ABI
amontoison Mar 4, 2026
372ae32
Rebuild Uno with the CXX11 ABI
amontoison Mar 4, 2026
b8fc68f
Rebuild Uno with the CXX11 ABI
amontoison Mar 4, 2026
020afb3
Try tp fix the C++ ABI
amontoison Mar 5, 2026
819ca23
Try tp fix the C++ ABI
amontoison Mar 5, 2026
70faf06
Update CMakeLists.txt
amontoison Mar 5, 2026
b110285
Update CMakeLists.txt
amontoison Mar 5, 2026
bc1faa6
Update CMakeLists.txt
amontoison Mar 5, 2026
dce1126
Update CMakeLists.txt
amontoison Mar 5, 2026
d705d51
[unopy] Test release v0.2.11
cvanaret Mar 5, 2026
e571668
[unopy] Test release v0.2.5
cvanaret Mar 4, 2026
8dd1784
Fixed rebase
cvanaret Mar 5, 2026
3b6f546
Fix unopy CMake install + added __init__.py + repair Windows wheel in…
cvanaret Mar 5, 2026
745c68e
[unopy] Test release v0.2.12
cvanaret Mar 5, 2026
02e82f9
Forgot __init__.py!
cvanaret Mar 5, 2026
49dbfdb
[unopy] Test release v0.2.13
cvanaret Mar 5, 2026
727c58d
Do not link emutls_w on Windows
cvanaret Mar 6, 2026
76f0874
[unopy] Test release v0.2.14
cvanaret Mar 6, 2026
6653260
Added debug info in CMake
cvanaret Mar 6, 2026
e358afa
Removed gcc from FORTRAN_LIBS for Windows
cvanaret Mar 6, 2026
62b875e
[unopy] Test release v0.2.15
cvanaret Mar 6, 2026
0a4f142
Added path to delvewheel
cvanaret Mar 6, 2026
c608b0d
[unopy] Test release v0.2.16
cvanaret Mar 6, 2026
3188eaa
Prepend to PATH so our DLLs are found before any system MinGW ones
cvanaret Mar 6, 2026
6368424
[unopy] Test release v0.2.17
cvanaret Mar 6, 2026
b3f0398
Exclude HiGHS
cvanaret Mar 6, 2026
71b1168
[unopy] Test release v0.2.18
cvanaret Mar 6, 2026
e2d6ce2
Cleanup
cvanaret Mar 6, 2026
1988399
Minor change
cvanaret Mar 6, 2026
901d9d8
Temporarily removed HiGHS from example_hs015.py
cvanaret Mar 6, 2026
9e99758
[unopy] Test release v0.2.19
cvanaret Mar 6, 2026
a34bcd4
[unopy] Test release v0.2.19 (re-added SOURCE_DATE_EPOCH)
cvanaret Mar 6, 2026
5e5f60f
Minor changes
cvanaret Mar 6, 2026
3f89cdc
Bump unopy version
cvanaret Mar 6, 2026
0ada25b
Added ubuntu-24.04-arm and macos-15-intel to (Test)PyPI tests
cvanaret Mar 6, 2026
231de67
[unopy] Test release v0.2.20
cvanaret Mar 6, 2026
a661e58
Reset unopy version to current version
cvanaret Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 90 additions & 18 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,49 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: Build wheels on ${{ matrix.sys.os }}
runs-on: ${{ matrix.sys.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-22.04-arm, macos-latest, macos-15-intel]
sys:
- { os: ubuntu-latest, shell: bash }
- { os: ubuntu-22.04-arm, shell: bash }
- { os: macos-latest, shell: bash }
- { os: macos-15-intel, shell: bash }
- { os: windows-latest, shell: 'msys2 {0}' }
defaults:
run:
shell: ${{ matrix.sys.shell }}

steps:
- uses: actions/checkout@v5

- uses: actions/setup-python@v5
with:
python-version: "3.11"

- run: pip install cibuildwheel
if: runner.os != 'Windows'

- run: pip install cibuildwheel
if: runner.os == 'Windows'
shell: pwsh

- name: Install Fortran compiler on macOS
if: startsWith(matrix.os, 'macos')
- name: Install delvewheel (Windows)
if: runner.os == 'Windows'
run: pip install delvewheel
shell: pwsh

- name: Install Fortran compiler (macOS)
if: startsWith(matrix.sys.os, 'macos')
uses: fortran-lang/setup-fortran@main
with:
compiler: 'gcc'
version: '14'
version: '13'

- name: Install libomp (macOS)
if: startsWith(matrix.os, 'macos')
if: startsWith(matrix.sys.os, 'macos')
run: |
brew install libomp
if [[ $(uname -m) == 'arm64' ]]; then
Expand All @@ -63,9 +81,11 @@ jobs:
run: cibuildwheel --output-dir ${{github.workspace}}/wheelhouse
env:
CIBW_BEFORE_BUILD: bash dependencies/scripts/download_dependencies.sh
# Skip some builds
CIBW_SKIP: cp36-* cp37-* cp*-*_i686 pp* *-win32

- name: Build wheels (macOS)
if: startsWith(matrix.os, 'macos')
if: startsWith(matrix.sys.os, 'macos')
run: cibuildwheel --output-dir ${{github.workspace}}/wheelhouse
env:
# Override what setup-fortran set at the step level
Expand All @@ -91,11 +111,38 @@ jobs:
FC=gfortran-15
CMAKE_TOOLCHAIN_FILE=/tmp/clang_toolchain.cmake
CIBW_BEFORE_BUILD: bash dependencies/scripts/download_dependencies.sh
# Skip some builds
CIBW_SKIP: cp36-* cp37-* cp*-*_i686 pp* *-win32

- uses: actions/upload-artifact@v4
- name: Build wheels (Windows)
if: runner.os == 'Windows'
run: cibuildwheel --output-dir ${{github.workspace}}/wheelhouse
shell: pwsh
env:
CIBW_BEFORE_BUILD_WINDOWS: >
C:/msys64/usr/bin/bash -lc "cd \"$(cygpath -u '{package}')\" && ./dependencies/scripts/download_dependencies.sh" &&
pwsh -Command "Get-ChildItem -Path '{package}/dependencies' -Recurse |
ForEach-Object { $_.LastWriteTime = Get-Date }"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >
pwsh -Command "$env:SOURCE_DATE_EPOCH='315532800';
delvewheel repair --add-path 'C:/msys64/mingw64/bin;dependencies/bin;dependencies/lib' --no-mangle-all -w {dest_dir} {wheel}"
CIBW_ENVIRONMENT_WINDOWS: >
CMAKE_GENERATOR="MinGW Makefiles"
CMAKE_MAKE_PROGRAM=C:/mingw64/bin/mingw32-make.exe
CMAKE_C_COMPILER=C:/mingw64/bin/gcc.exe
CMAKE_CXX_COMPILER=C:/mingw64/bin/g++.exe
CMAKE_Fortran_COMPILER=C:/mingw64/bin/gfortran.exe
CIBW_CONFIG_SETTINGS_WINDOWS: >
cmake.define.METIS_LIBRARY=dependencies/bin/libmetis.dll
# cmake.define.HIGHS=dependencies/bin/libhighs.dll
# Skip some builds
CIBW_SKIP: cp36-* cp37-* cp*-*_i686 pp* *-win32

- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ${{github.workspace}}/wheelhouse/*.whl
name: cibw-wheels-${{ matrix.sys.os }}-${{ strategy.job-index }}
path: wheelhouse/*.whl

build_sdist:
name: Build source distribution
Expand Down Expand Up @@ -178,7 +225,33 @@ jobs:
- uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true


# test TestPyPI's unopy artifacts after upload to PyPI
test_testpypi:
needs: upload_testpypi
name: Test TestPyPI artifacts
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-15-intel, windows-latest]
python-version: [ "3.12" ]

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install unopy from TestPyPI
run: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ unopy

- name: Run example
working-directory: ${{github.workspace}}/interfaces/Python/example
run: python example_hs015.py

# test PyPI's unopy artifacts after upload to PyPI
test_pypi:
needs: upload_pypi
Expand All @@ -187,21 +260,20 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-15-intel, windows-latest]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Install unopy from PyPI
run: pip install unopy

- name: Run example
working-directory: ${{github.workspace}}/interfaces/Python/example
run: python example_hs015.py
run: python example_hs015.py
13 changes: 10 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,13 @@ if(SKBUILD)
# set(PYBIND11_FINDPYTHON ON)
find_package(pybind11 CONFIG REQUIRED)

# link-time optimization
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -flto=auto")
# C++ ABI
add_compile_definitions(_GLIBCXX_USE_CXX11_ABI=1)

# link-time optimization
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-flto=auto>)
add_link_options(-flto=auto)
endif()

file(GLOB PYTHON_MODULE_FILES
Expand All @@ -318,7 +322,10 @@ if(SKBUILD)
target_link_libraries(unopy PUBLIC ${LIBRARIES} ${FORTRAN_LIBS})
target_include_directories(unopy SYSTEM PUBLIC ${DIRECTORIES})

install(TARGETS unopy LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX})
install(TARGETS unopy
LIBRARY DESTINATION unopy # Linux/macOS: unopy/unopy.so
RUNTIME DESTINATION unopy # Windows: unopy/unopy.pyd
)
else()
message(STATUS "SKBUILD not detected, skipping Python extension.")
endif()
Expand Down
3 changes: 2 additions & 1 deletion dependencies/scripts/download_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ case "$OS_NAME" in
Darwin*) OS="apple-darwin";;
Windows*) OS="w64-mingw32";;
MINGW64_NT*) OS="w64-mingw32";;
*) echo "Unsupported OS: $OS_NAME"; exit 1 ;;
MSYS_NT*) OS="w64-mingw32";;
*) echo "Unsupported OS: $OS_NAME"; exit 1;;
esac
# detect architecture
ARCH_NAME="$(uname -m)"
Expand Down
2 changes: 1 addition & 1 deletion interfaces/Python/example/example_hs015.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ def lagrangian_hessian_operator(number_variables, number_constraints, x, evaluat

# run 4: solve with the filterslp preset
uno_solver.set_preset("filterslp")
uno_solver.set_option("LP_solver", "HiGHS")
uno_solver.set_option("LP_solver", "BQPD")
result = uno_solver.optimize(model)
assert abs(result.solution_objective - 306.5) <= 1e-4
14 changes: 14 additions & 0 deletions interfaces/Python/unopy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import os
import sys

# load bundled DLLs from unopy.libs
basedir = os.path.dirname(__file__)
subdir = os.path.join(basedir, '..', 'unopy.libs')
if os.name == 'nt':
# Prepend to PATH so our DLLs are found before any system MinGW ones
os.environ['PATH'] = subdir + os.pathsep + os.environ.get('PATH', '')
os.add_dll_directory(subdir)
elif sys.platform == 'cygwin':
os.environ['PATH'] = os.pathsep.join((os.environ['PATH'], basedir, subdir))

from .unopy import *
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ build-backend = "scikit_build_core.build"
[project]
name = "unopy"
version = "0.2.3"
#requires-python = ">=3.8"
description = "With Uno, finally take full control of your SQP/barrier solver for nonlinearly constrained optimization"
readme = "interfaces/Python/README.md"
authors = [
{name = "Charlie Vanaret", email = "[email protected]"}
{name = "Charlie Vanaret", email = "[email protected]"},
{name = "Alexis Montoison", email = "[email protected]"}
]
maintainers = [
{name = "Charlie Vanaret", email = "[email protected]"}
{name = "Charlie Vanaret", email = "[email protected]"},
{name = "Alexis Montoison", email = "[email protected]"}
]
license = "MIT"

Expand All @@ -27,9 +28,12 @@ Issues = "https://github.com/cvanaret/Uno/issues"
cmake.source-dir = "."
cmake.verbose = true
wheel.cmake = true
wheel.packages = ["interfaces/Python/unopy"] # point to a dir containing __init__.py

# support for passing paths to dependencies from environment to CMake
[tool.scikit-build.cmake.define]
BLAS_LIBRARIES = "dependencies/lib/libblas.a;dependencies/lib/libcblas.a"
LAPACK_LIBRARIES = "dependencies/lib/liblapack.a"
# BQPD (cmake -DBQPD=/path/.../libbqpd.a)
BQPD = "dependencies/lib/libbqpd.a"
# MUMPS
Expand All @@ -40,8 +44,5 @@ MUMPS_LIBRARY = "dependencies/lib/libdmumps.a"
MUMPS_COMMON_LIBRARY = "dependencies/lib/libmumps_common.a"
MUMPS_PORD_LIBRARY = "dependencies/lib/libpord.a"
MUMPS_MPISEQ_LIBRARY = "dependencies/lib/libmpiseq.a"
BLAS_LIBRARIES = "dependencies/lib/libblas.a;dependencies/lib/libcblas.a"
LAPACK_LIBRARIES = "dependencies/lib/liblapack.a"
# HiGHS
# HIGHS_DIR = "dependencies/lib/cmake/highs"
HIGHS = "dependencies/lib/libhighs.a"
# HIGHS = "dependencies/lib/libhighs.a"
Loading