acados: strip future-fstrings declaration (#37057)

* Revert "rm future-fstrings package (#37056)"

This reverts commit 7a990b99f7.

* Reapply "rm future-fstrings package (#37056)"

This reverts commit 8b93f6646eed6863ad67b9bab558d305ecb8b7b4.

* strip it

* cleanup
This commit is contained in:
Adeeb Shihadeh
2026-02-01 15:24:42 -08:00
committed by GitHub
parent 7a990b99f7
commit 422de59898
12 changed files with 6 additions and 10 deletions
-1
View File
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
-1
View File
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
-1
View File
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright 2019 Gianluca Frison, Dimitris Kouzoupis, Robin Verschueren,
# Andrea Zanelli, Niels van Duijkeren, Jonathan Frey, Tommaso Sartor,
-1
View File
@@ -1,4 +1,3 @@
# -*- coding: future_fstrings -*-
#
# Copyright (c) The acados authors.
#
+6
View File
@@ -44,6 +44,12 @@ cp -r $DIR/acados_repo/lib $INSTALL_DIR
cp -r $DIR/acados_repo/interfaces/acados_template/acados_template $DIR/
#pip3 install -e $DIR/acados/interfaces/acados_template
# skip macOS - sed is different :/
if [[ "$OSTYPE" != "darwin"* ]]; then
# strip future_fstrings to avoid having to install the compatibility package
find $DIR/acados_template/ -type f -exec sed -i '/future.fstrings/d' {} +
fi
# build tera
cd $DIR/acados_repo/interfaces/acados_template/tera_renderer/
if [[ "$OSTYPE" == "darwin"* ]]; then