mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
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:
@@ -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,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 2019 Gianluca Frison, Dimitris Kouzoupis, Robin Verschueren,
|
||||
# Andrea Zanelli, Niels van Duijkeren, Jonathan Frey, Tommaso Sartor,
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
# -*- coding: future_fstrings -*-
|
||||
#
|
||||
# Copyright (c) The acados authors.
|
||||
#
|
||||
|
||||
Vendored
+6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user