File: DunePythonDeprecations.cmake

package info (click to toggle)
dune-common 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,112 kB
  • sloc: cpp: 44,714; python: 3,480; sh: 1,590; makefile: 17
file content (30 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
# SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception

# This file only contains the deprecation messages from the overhaul
# of the Python CMake integration. After the deprecation period, this
# file can simply be deleted (and its include in DunePythonCommonMacros.cmake removed)

if(DUNE_PYTHON_INSTALL_EDITABLE)
  message(WARNING
"    The DUNE_PYTHON_INSTALL_EDITABLE variable is deprecated.
     Installations into the Dune-internal virtualenv (or active external
     virtualenv are always editable. An editable installation e.g. into
     your system environment is not supported at the moment since an
     installation should not depend on the existence of a build directory.
")
endif()

if(DUNE_PYTHON_VIRTUALENV_SETUP)
  message(WARNING
"    The DUNE_PYTHON_VIRTUALENV_SETUP variable is deprecated, as it's
     behaviour is now enabled by default.
")
endif()

function(dune_python_require_virtualenv_setup)
  message(WARNING
"    The dune_python_require_virtualenv_setup function is deprecated, as the
     internal virtual environment is now enabled by default.
")
endfunction()