├── recipe ├── yum_requirements.txt ├── README.md ├── vendored-loguru-license.txt ├── build-io-ffmpeg.sh ├── conda_build_config.yaml ├── patches │ ├── fix-threads-windows.patch │ ├── expat_use_pkgconfig_version.patch │ ├── ioss_fix_fmt12.patch │ └── 9987_try_except_python_import.patch ├── cross-linux.cmake ├── vendored-libharu-license.txt ├── vendored-pegtl-license.txt ├── vendored-fast_float-license.txt ├── vendored-exprtk-license.txt ├── test_vtk.py ├── vendored-token-license.txt ├── vendored-cgns-license.txt ├── vendored-verdict-license.txt ├── vendored-ioss-license.txt ├── manual_vtk_test.py ├── bld-base.bat ├── build-base.sh ├── tests │ └── ref.vtu └── recipe.yaml ├── .github └── CODEOWNERS ├── .ci_support ├── migrations │ ├── hdf51146.yaml │ ├── libnetcdf493.yaml │ ├── qt6_main610.yaml │ ├── fmt12_spdlog116.yaml │ ├── libboost188.yaml │ ├── libxml2214.yaml │ └── python314.yaml ├── README ├── win_64_python3.13.____cp313.yaml ├── win_64_python3.14.____cp314.yaml ├── win_64_python3.10.____cpython.yaml ├── win_64_python3.11.____cpython.yaml ├── win_64_python3.12.____cpython.yaml ├── linux_64_python3.10.____cpython.yaml ├── linux_64_python3.11.____cpython.yaml ├── linux_64_python3.12.____cpython.yaml ├── linux_64_python3.13.____cp313.yaml ├── linux_64_python3.14.____cp314.yaml ├── linux_aarch64_python3.10.____cpython.yaml ├── linux_aarch64_python3.11.____cpython.yaml ├── linux_aarch64_python3.12.____cpython.yaml ├── linux_aarch64_python3.13.____cp313.yaml ├── linux_aarch64_python3.14.____cp314.yaml ├── osx_64_python3.13.____cp313.yaml ├── osx_64_python3.14.____cp314.yaml ├── osx_64_python3.10.____cpython.yaml ├── osx_64_python3.11.____cpython.yaml ├── osx_64_python3.12.____cpython.yaml ├── osx_arm64_python3.13.____cp313.yaml ├── osx_arm64_python3.14.____cp314.yaml ├── osx_arm64_python3.10.____cpython.yaml ├── osx_arm64_python3.11.____cpython.yaml └── osx_arm64_python3.12.____cpython.yaml ├── conda-forge.yml ├── .circleci └── config.yml ├── .gitattributes ├── .gitignore ├── .scripts ├── logging_utils.sh ├── run_osx_build.sh ├── run_docker_build.sh ├── build_steps.sh └── run_win_build.bat ├── azure-pipelines.yml ├── LICENSE.txt ├── .azure-pipelines ├── azure-pipelines-win.yml ├── azure-pipelines-osx.yml └── azure-pipelines-linux.yml ├── pixi.toml └── README.md /recipe/yum_requirements.txt: -------------------------------------------------------------------------------- 1 | mesa-libGL 2 | mesa-libGL-devel 3 | mesa-libEGL-devel 4 | mesa-dri-drivers 5 | libX11-devel 6 | libglvnd-glx 7 | libglvnd-egl 8 | libglvnd-opengl 9 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Maxyme @Tobias-Fischer @basnijholt @ccordoba12 @dfroger @downiec @grlee77 @jasonb5 @marcelotrevisani @matthiasdiener @msarahan @patricksnape @tadeu @traversaro @vicentebolea -------------------------------------------------------------------------------- /.ci_support/migrations/hdf51146.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for hdf5 1.14.6 4 | kind: version 5 | migration_number: 1 6 | hdf5: 7 | - 1.14.6 8 | migrator_ts: 1745181464.7240238 9 | -------------------------------------------------------------------------------- /.ci_support/migrations/libnetcdf493.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for libnetcdf 4.9.3 4 | kind: version 5 | migration_number: 1 6 | libnetcdf: 7 | - 4.9.3 8 | migrator_ts: 1756853344.8175085 9 | -------------------------------------------------------------------------------- /.ci_support/migrations/qt6_main610.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for qt6_main 6.10 4 | kind: version 5 | migration_number: 1 6 | migrator_ts: 1763433669.7565482 7 | qt6_main: 8 | - '6.10' 9 | -------------------------------------------------------------------------------- /.ci_support/migrations/fmt12_spdlog116.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for fmt 12.0 and spdlog 1.16 4 | kind: version 5 | migration_number: 1 6 | migrator_ts: 1760196591.995821 7 | fmt: 8 | - '12.0' 9 | spdlog: 10 | - '1.16' 11 | -------------------------------------------------------------------------------- /recipe/README.md: -------------------------------------------------------------------------------- 1 | # VTK 2 | 3 | ## VTK as a dependency 4 | 5 | Projects that depend on VTK should add a `yum_requirements.txt` file like `recipe/yum_requirements.txt` in the vtk-feedstock. Without this file, the Linux build fails with `ImportError: No module named vtkRenderingOpenGLPython`. 6 | -------------------------------------------------------------------------------- /.ci_support/migrations/libboost188.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | kind: version 4 | commit_message: "Rebuild for libboost 1.88" 5 | migration_number: 1 6 | libboost_devel: 7 | - "1.88" 8 | libboost_headers: 9 | - "1.88" 10 | libboost_python_devel: 11 | - "1.88" 12 | migrator_ts: 1753251695.3315456 13 | -------------------------------------------------------------------------------- /conda-forge.yml: -------------------------------------------------------------------------------- 1 | azure: 2 | free_disk_space: true 3 | max_parallel: 25 4 | build_platform: 5 | linux_aarch64: linux_64 6 | osx_arm64: osx_64 7 | conda_build_tool: rattler-build 8 | conda_forge_output_validation: true 9 | conda_install_tool: pixi 10 | github: 11 | branch_name: main 12 | tooling_branch_name: main 13 | test: native_and_emulated 14 | -------------------------------------------------------------------------------- /.ci_support/README: -------------------------------------------------------------------------------- 1 | This file is automatically generated by conda-smithy. If any 2 | particular build configuration is expected, but it is not found, 3 | please make sure all dependencies are satisfiable. To add/modify any 4 | matrix elements, you should create/change conda-smithy's input 5 | recipe/conda_build_config.yaml and re-render the recipe, rather than 6 | editing these files directly. 7 | -------------------------------------------------------------------------------- /recipe/vendored-loguru-license.txt: -------------------------------------------------------------------------------- 1 | License 2 | ======== 3 | 4 | This software is in the public domain. Where that dedication is not recognized, 5 | you are granted a perpetual, irrevocable license to copy, modify and distribute 6 | it as you see fit. 7 | 8 | That being said, I would appreciate credit! If you find Loguru useful, tweet me 9 | at @ernerfeldt mail me at emil.ernerfeldt@gmail.com. 10 | -------------------------------------------------------------------------------- /.ci_support/migrations/libxml2214.yaml: -------------------------------------------------------------------------------- 1 | __migrator: 2 | build_number: 1 3 | commit_message: Rebuild for libxml2 2.14 4 | kind: version 5 | migration_number: 1 6 | exclude: 7 | # break circularity with compiler stack 8 | - llvmdev 9 | - clangdev 10 | - compiler-rt 11 | - lld 12 | # same for libgsf and msitools 13 | - libgsf 14 | libxml2: 15 | - '2.14' 16 | libxml2_devel: 17 | - '2.14' 18 | migrator_ts: 1743812129.3751788 19 | -------------------------------------------------------------------------------- /recipe/build-io-ffmpeg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -x 4 | 5 | 6 | # Move vtkIOFFMPEG files to $PREFIX 7 | # and the ffmpeg-related files in the FFMPEG_DIR and process each of them 8 | FFMPEG_DIR="$(dirname $(dirname $PREFIX))/vtk_ffmpeg_dir_${PKG_VERSION}_${PY_VER}" 9 | find $FFMPEG_DIR -name "*vtkIOFFMPEG*" -print0 | while IFS= read -r -d '' file; do 10 | dest_dir="$PREFIX/${file#$FFMPEG_DIR/}" 11 | mkdir -p "$(dirname "$dest_dir")" 12 | mv "$file" "$dest_dir" 13 | done 14 | -------------------------------------------------------------------------------- /recipe/conda_build_config.yaml: -------------------------------------------------------------------------------- 1 | # https://doc.qt.io/qt-6/macos.html 2 | c_stdlib_version: # [osx] 3 | - 11.0 # [osx] 4 | MACOSX_SDK_VERSION: # [osx] 5 | - '12.3' # [osx] 6 | 7 | c_compiler: # [win] 8 | - vs2022 # [win] 9 | cxx_compiler: # [win] 10 | - vs2022 # [win] 11 | 12 | # compile issues with old version of fmt vendored in a vendored library .. :( 13 | c_compiler_version: # [osx] 14 | - '18' # [osx] 15 | cxx_compiler_version: # [osx] 16 | - '18' # [osx] 17 | -------------------------------------------------------------------------------- /recipe/patches/fix-threads-windows.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Common/Core/CMakeLists.txt b/Common/Core/CMakeLists.txt 2 | index 96f59bb6322..b0591aa6912 100644 3 | --- a/Common/Core/CMakeLists.txt 4 | +++ b/Common/Core/CMakeLists.txt 5 | @@ -368,6 +368,9 @@ set(vtk_include_dirs) 6 | vtk_module_find_package( 7 | PACKAGE Threads) 8 | 9 | +set(CMAKE_USE_PTHREADS_INIT 0) 10 | +set(CMAKE_USE_WIN32_THREADS_INIT 1) 11 | + 12 | set(VTK_MAX_THREADS "64" CACHE STRING 13 | "Max number of threads vtkMultiThreader will allocate.") 14 | mark_as_advanced(VTK_MAX_THREADS) 15 | -------------------------------------------------------------------------------- /recipe/cross-linux.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME ${CMAKE_HOST_NAME}) 2 | set(CMAKE_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) 3 | 4 | # specify the cross compiler 5 | set(CMAKE_C_COMPILER $ENV{CC}) 6 | set(CMAKE_CXX_COMPILER $ENV{CXX}) 7 | 8 | # where is the target environment 9 | set(CMAKE_FIND_ROOT_PATH "$ENV{PREFIX};$ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot") 10 | set(CMAKE_SYSROOT $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) 11 | 12 | # search for programs in the build host directories 13 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 14 | # for libraries and headers in the target directories 15 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 16 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 17 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: jinja-yaml -*- 4 | 5 | version: 2 6 | 7 | jobs: 8 | build: 9 | working_directory: ~/test 10 | machine: 11 | image: ubuntu-2004:current 12 | steps: 13 | - run: 14 | # The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. 15 | command: exit 0 16 | 17 | workflows: 18 | version: 2 19 | build_and_test: 20 | jobs: 21 | - build: 22 | filters: 23 | branches: 24 | ignore: 25 | - /.*/ 26 | -------------------------------------------------------------------------------- /recipe/patches/expat_use_pkgconfig_version.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMake/FindEXPAT.cmake b/CMake/FindEXPAT.cmake 2 | index 00b160a4952..d7571c6b7a7 100644 3 | --- a/CMake/FindEXPAT.cmake 4 | +++ b/CMake/FindEXPAT.cmake 5 | @@ -39,7 +39,9 @@ find_path(EXPAT_INCLUDE_DIR NAMES expat.h HINTS ${PC_EXPAT_INCLUDE_DIRS}) 6 | # Look for the library. 7 | find_library(EXPAT_LIBRARY NAMES expat libexpat HINTS ${PC_EXPAT_LIBRARY_DIRS}) 8 | 9 | -if (EXPAT_INCLUDE_DIR AND EXISTS "${EXPAT_INCLUDE_DIR}/expat.h") 10 | +set(EXPAT_VERSION_STRING "${PC_EXPAT_VERSION}") 11 | + 12 | +if (EXPAT_INCLUDE_DIR AND EXISTS "${EXPAT_INCLUDE_DIR}/expat.h" AND NOT EXPAT_VERSION_STRING) 13 | file(STRINGS "${EXPAT_INCLUDE_DIR}/expat.h" expat_version_str 14 | REGEX "^#[\t ]*define[\t ]+XML_(MAJOR|MINOR|MICRO)_VERSION[\t ]+[0-9]+$") 15 | 16 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | expat: 12 | - '2' 13 | ffmpeg: 14 | - '8' 15 | fmt: 16 | - '12.0' 17 | freetype: 18 | - '2' 19 | hdf5: 20 | - 1.14.6 21 | jsoncpp: 22 | - 1.9.6 23 | libboost_headers: 24 | - '1.88' 25 | libjpeg_turbo: 26 | - '3' 27 | liblzma_devel: 28 | - '5' 29 | libnetcdf: 30 | - 4.9.3 31 | libogg: 32 | - '1.3' 33 | libpng: 34 | - '1.6' 35 | libtiff: 36 | - '4.7' 37 | libxml2_devel: 38 | - '2.14' 39 | lz4_c: 40 | - '1.10' 41 | pin_run_as_build: 42 | python: 43 | min_pin: x.x 44 | max_pin: x.x 45 | proj: 46 | - '9.7' 47 | pugixml: 48 | - '1.15' 49 | python: 50 | - 3.13.* *_cp313 51 | qt6_main: 52 | - '6.10' 53 | sqlite: 54 | - '3' 55 | target_platform: 56 | - win-64 57 | tbb: 58 | - '2022' 59 | tbb_devel: 60 | - '2022' 61 | zlib: 62 | - '1' 63 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | expat: 12 | - '2' 13 | ffmpeg: 14 | - '8' 15 | fmt: 16 | - '12.0' 17 | freetype: 18 | - '2' 19 | hdf5: 20 | - 1.14.6 21 | jsoncpp: 22 | - 1.9.6 23 | libboost_headers: 24 | - '1.88' 25 | libjpeg_turbo: 26 | - '3' 27 | liblzma_devel: 28 | - '5' 29 | libnetcdf: 30 | - 4.9.3 31 | libogg: 32 | - '1.3' 33 | libpng: 34 | - '1.6' 35 | libtiff: 36 | - '4.7' 37 | libxml2_devel: 38 | - '2.14' 39 | lz4_c: 40 | - '1.10' 41 | pin_run_as_build: 42 | python: 43 | min_pin: x.x 44 | max_pin: x.x 45 | proj: 46 | - '9.7' 47 | pugixml: 48 | - '1.15' 49 | python: 50 | - 3.14.* *_cp314 51 | qt6_main: 52 | - '6.10' 53 | sqlite: 54 | - '3' 55 | target_platform: 56 | - win-64 57 | tbb: 58 | - '2022' 59 | tbb_devel: 60 | - '2022' 61 | zlib: 62 | - '1' 63 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | expat: 12 | - '2' 13 | ffmpeg: 14 | - '8' 15 | fmt: 16 | - '12.0' 17 | freetype: 18 | - '2' 19 | hdf5: 20 | - 1.14.6 21 | jsoncpp: 22 | - 1.9.6 23 | libboost_headers: 24 | - '1.88' 25 | libjpeg_turbo: 26 | - '3' 27 | liblzma_devel: 28 | - '5' 29 | libnetcdf: 30 | - 4.9.3 31 | libogg: 32 | - '1.3' 33 | libpng: 34 | - '1.6' 35 | libtiff: 36 | - '4.7' 37 | libxml2_devel: 38 | - '2.14' 39 | lz4_c: 40 | - '1.10' 41 | pin_run_as_build: 42 | python: 43 | min_pin: x.x 44 | max_pin: x.x 45 | proj: 46 | - '9.7' 47 | pugixml: 48 | - '1.15' 49 | python: 50 | - 3.10.* *_cpython 51 | qt6_main: 52 | - '6.10' 53 | sqlite: 54 | - '3' 55 | target_platform: 56 | - win-64 57 | tbb: 58 | - '2022' 59 | tbb_devel: 60 | - '2022' 61 | zlib: 62 | - '1' 63 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | expat: 12 | - '2' 13 | ffmpeg: 14 | - '8' 15 | fmt: 16 | - '12.0' 17 | freetype: 18 | - '2' 19 | hdf5: 20 | - 1.14.6 21 | jsoncpp: 22 | - 1.9.6 23 | libboost_headers: 24 | - '1.88' 25 | libjpeg_turbo: 26 | - '3' 27 | liblzma_devel: 28 | - '5' 29 | libnetcdf: 30 | - 4.9.3 31 | libogg: 32 | - '1.3' 33 | libpng: 34 | - '1.6' 35 | libtiff: 36 | - '4.7' 37 | libxml2_devel: 38 | - '2.14' 39 | lz4_c: 40 | - '1.10' 41 | pin_run_as_build: 42 | python: 43 | min_pin: x.x 44 | max_pin: x.x 45 | proj: 46 | - '9.7' 47 | pugixml: 48 | - '1.15' 49 | python: 50 | - 3.11.* *_cpython 51 | qt6_main: 52 | - '6.10' 53 | sqlite: 54 | - '3' 55 | target_platform: 56 | - win-64 57 | tbb: 58 | - '2022' 59 | tbb_devel: 60 | - '2022' 61 | zlib: 62 | - '1' 63 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | expat: 12 | - '2' 13 | ffmpeg: 14 | - '8' 15 | fmt: 16 | - '12.0' 17 | freetype: 18 | - '2' 19 | hdf5: 20 | - 1.14.6 21 | jsoncpp: 22 | - 1.9.6 23 | libboost_headers: 24 | - '1.88' 25 | libjpeg_turbo: 26 | - '3' 27 | liblzma_devel: 28 | - '5' 29 | libnetcdf: 30 | - 4.9.3 31 | libogg: 32 | - '1.3' 33 | libpng: 34 | - '1.6' 35 | libtiff: 36 | - '4.7' 37 | libxml2_devel: 38 | - '2.14' 39 | lz4_c: 40 | - '1.10' 41 | pin_run_as_build: 42 | python: 43 | min_pin: x.x 44 | max_pin: x.x 45 | proj: 46 | - '9.7' 47 | pugixml: 48 | - '1.15' 49 | python: 50 | - 3.12.* *_cpython 51 | qt6_main: 52 | - '6.10' 53 | sqlite: 54 | - '3' 55 | target_platform: 56 | - win-64 57 | tbb: 58 | - '2022' 59 | tbb_devel: 60 | - '2022' 61 | zlib: 62 | - '1' 63 | -------------------------------------------------------------------------------- /recipe/vendored-libharu-license.txt: -------------------------------------------------------------------------------- 1 | 2 | Copyright (C) 1999-2006 Takeshi Kanno 3 | Copyright (C) 2007-2009 Antony Dovgal 4 | 5 | This software is provided 'as-is', without any express or implied warranty. 6 | 7 | In no event will the authors be held liable for any damages arising from the 8 | use of this software. 9 | 10 | Permission is granted to anyone to use this software for any purpose,including 11 | commercial applications, and to alter it and redistribute it freely, subject 12 | to the following restrictions: 13 | 14 | 1. The origin of this software must not be misrepresented; you must not claim 15 | that you wrote the original software. If you use this software in a 16 | product, an acknowledgment in the product documentation would be 17 | appreciated but is not required. 18 | 2. Altered source versions must be plainly marked as such, and must not be 19 | misrepresented as being the original software. 20 | 3. This notice may not be removed or altered from any source distribution. -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.patch binary 4 | *.diff binary 5 | meta.yaml text eol=lf 6 | build.sh text eol=lf 7 | bld.bat text eol=crlf 8 | 9 | # github helper pieces to make some files not show up in diffs automatically 10 | .azure-pipelines/* linguist-generated=true 11 | .circleci/* linguist-generated=true 12 | .ci_support/README linguist-generated=true 13 | .drone/* linguist-generated=true 14 | .drone.yml linguist-generated=true 15 | .github/* linguist-generated=true 16 | .travis/* linguist-generated=true 17 | .appveyor.yml linguist-generated=true 18 | .gitattributes linguist-generated=true 19 | .gitignore linguist-generated=true 20 | .travis.yml linguist-generated=true 21 | .scripts/* linguist-generated=true 22 | .woodpecker.yml linguist-generated=true 23 | /LICENSE.txt linguist-generated=true 24 | /README.md linguist-generated=true 25 | azure-pipelines.yml linguist-generated=true 26 | build-locally.py linguist-generated=true 27 | pixi.toml linguist-generated=true 28 | shippable.yml linguist-generated=true 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # User content belongs under recipe/. 2 | # Feedstock configuration goes in `conda-forge.yml` 3 | # Everything else is managed by the conda-smithy rerender process. 4 | # Please do not modify 5 | 6 | # Ignore all files and folders in root 7 | * 8 | !/conda-forge.yml 9 | 10 | # Don't ignore any files/folders if the parent folder is 'un-ignored' 11 | # This also avoids warnings when adding an already-checked file with an ignored parent. 12 | !/**/ 13 | # Don't ignore any files/folders recursively in the following folders 14 | !/recipe/** 15 | !/.ci_support/** 16 | 17 | # Since we ignore files/folders recursively, any folders inside 18 | # build_artifacts gets ignored which trips some build systems. 19 | # To avoid that we 'un-ignore' all files/folders recursively 20 | # and only ignore the root build_artifacts folder. 21 | !/build_artifacts/** 22 | /build_artifacts 23 | 24 | *.pyc 25 | 26 | # Rattler-build's artifacts are in `output` when not specifying anything. 27 | /output 28 | # Pixi's configuration 29 | .pixi 30 | -------------------------------------------------------------------------------- /.scripts/logging_utils.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Provide a unified interface for the different logging 4 | # utilities CI providers offer. If unavailable, provide 5 | # a compatible fallback (e.g. bare `echo xxxxxx`). 6 | 7 | function startgroup { 8 | # Start a foldable group of log lines 9 | # Pass a single argument, quoted 10 | case ${CI:-} in 11 | azure ) 12 | echo "##[group]$1";; 13 | travis ) 14 | echo "$1" 15 | echo -en 'travis_fold:start:'"${1// /}"'\r';; 16 | github_actions ) 17 | echo "::group::$1";; 18 | * ) 19 | echo "$1";; 20 | esac 21 | } 2> /dev/null 22 | 23 | function endgroup { 24 | # End a foldable group of log lines 25 | # Pass a single argument, quoted 26 | 27 | case ${CI:-} in 28 | azure ) 29 | echo "##[endgroup]";; 30 | travis ) 31 | echo -en 'travis_fold:end:'"${1// /}"'\r';; 32 | github_actions ) 33 | echo "::endgroup::";; 34 | esac 35 | } 2> /dev/null 36 | -------------------------------------------------------------------------------- /recipe/vendored-pegtl-license.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2007-2020 Dr. Colin Hirsch and Daniel Frey 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /recipe/vendored-fast_float-license.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 The fast_float authors 4 | 5 | Permission is hereby granted, free of charge, to any 6 | person obtaining a copy of this software and associated 7 | documentation files (the "Software"), to deal in the 8 | Software without restriction, including without 9 | limitation the rights to use, copy, modify, merge, 10 | publish, distribute, sublicense, and/or sell copies of 11 | the Software, and to permit persons to whom the Software 12 | is furnished to do so, subject to the following 13 | conditions: 14 | 15 | The above copyright notice and this permission notice 16 | shall be included in all copies or substantial portions 17 | of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 20 | ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 21 | TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 22 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 23 | SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 24 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 26 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 27 | DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.10.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.11.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.12.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.13.* *_cp313 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.14.* *_cp314 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.10.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-aarch64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.11.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-aarch64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.12.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-aarch64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.13.* *_cp313 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-aarch64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | expat: 20 | - '2' 21 | ffmpeg: 22 | - '8' 23 | fmt: 24 | - '12.0' 25 | freetype: 26 | - '2' 27 | hdf5: 28 | - 1.14.6 29 | jsoncpp: 30 | - 1.9.6 31 | libboost_headers: 32 | - '1.88' 33 | libjpeg_turbo: 34 | - '3' 35 | liblzma_devel: 36 | - '5' 37 | libnetcdf: 38 | - 4.9.3 39 | libogg: 40 | - '1.3' 41 | libpng: 42 | - '1.6' 43 | libtiff: 44 | - '4.7' 45 | libuuid: 46 | - '2' 47 | libxcb: 48 | - '1' 49 | libxml2_devel: 50 | - '2.14' 51 | lz4_c: 52 | - '1.10' 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.14.* *_cp314 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - linux-aarch64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - x86_64-apple-darwin13.4.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.13.* *_cp313 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - x86_64-apple-darwin13.4.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.14.* *_cp314 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - x86_64-apple-darwin13.4.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.10.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - x86_64-apple-darwin13.4.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.11.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - x86_64-apple-darwin13.4.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.12.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - arm64-apple-darwin20.0.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.13.* *_cp313 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-arm64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - arm64-apple-darwin20.0.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.14.* *_cp314 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-arm64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - arm64-apple-darwin20.0.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.10.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-arm64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - arm64-apple-darwin20.0.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.11.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-arm64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '12.3' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '18' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '18' 21 | expat: 22 | - '2' 23 | ffmpeg: 24 | - '8' 25 | fmt: 26 | - '12.0' 27 | freetype: 28 | - '2' 29 | hdf5: 30 | - 1.14.6 31 | jsoncpp: 32 | - 1.9.6 33 | libboost_headers: 34 | - '1.88' 35 | libjpeg_turbo: 36 | - '3' 37 | liblzma_devel: 38 | - '5' 39 | libnetcdf: 40 | - 4.9.3 41 | libogg: 42 | - '1.3' 43 | libpng: 44 | - '1.6' 45 | libtiff: 46 | - '4.7' 47 | libxml2_devel: 48 | - '2.14' 49 | lz4_c: 50 | - '1.10' 51 | macos_machine: 52 | - arm64-apple-darwin20.0.0 53 | pin_run_as_build: 54 | python: 55 | min_pin: x.x 56 | max_pin: x.x 57 | proj: 58 | - '9.7' 59 | pugixml: 60 | - '1.15' 61 | python: 62 | - 3.12.* *_cpython 63 | qt6_main: 64 | - '6.10' 65 | sqlite: 66 | - '3' 67 | target_platform: 68 | - osx-arm64 69 | tbb: 70 | - '2022' 71 | tbb_devel: 72 | - '2022' 73 | zip_keys: 74 | - - c_compiler_version 75 | - cxx_compiler_version 76 | zlib: 77 | - '1' 78 | -------------------------------------------------------------------------------- /recipe/vendored-exprtk-license.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 1999-2024 Arash Partow 4 | 5 | https://www.partow.net/programming/exprtk/index.html 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining 8 | a copy of this software and associated documentation files (the 9 | "Software"), to deal in the Software without restriction, including 10 | without limitation the rights to use, copy, modify, merge, publish, 11 | distribute, sublicense, and/or sell copies of the Software, and to 12 | permit persons to whom the Software is furnished to do so, subject to 13 | the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /.ci_support/migrations/python314.yaml: -------------------------------------------------------------------------------- 1 | # this is intentionally sorted before the 3.13t migrator, because that determines 2 | # the order of application of the migrators; otherwise we'd have to add values for 3 | # is_freethreading and is_abi3 keys here, since that migration extends the zip; 4 | migrator_ts: 1724712607 5 | __migrator: 6 | commit_message: Rebuild for python 3.14 7 | migration_number: 1 8 | operation: key_add 9 | primary_key: python 10 | ordering: 11 | python: 12 | - 3.9.* *_cpython 13 | - 3.10.* *_cpython 14 | - 3.11.* *_cpython 15 | - 3.12.* *_cpython 16 | - 3.13.* *_cp313 17 | - 3.13.* *_cp313t 18 | - 3.14.* *_cp314 # new entry 19 | paused: false 20 | longterm: true 21 | pr_limit: 5 22 | max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 12 times 23 | exclude: 24 | # this shouldn't attempt to modify the python feedstocks 25 | - python 26 | - pypy3.6 27 | - pypy-meta 28 | - cross-python 29 | - python_abi 30 | exclude_pinned_pkgs: false 31 | ignored_deps_per_node: 32 | matplotlib: 33 | - pyqt 34 | additional_zip_keys: 35 | - channel_sources 36 | 37 | python: 38 | - 3.14.* *_cp314 39 | # additional entries to add for zip_keys 40 | is_python_min: 41 | - false 42 | channel_sources: 43 | - conda-forge,conda-forge/label/python_rc 44 | -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | stages: 6 | - stage: Check 7 | jobs: 8 | - job: Skip 9 | pool: 10 | vmImage: 'ubuntu-22.04' 11 | variables: 12 | DECODE_PERCENTS: 'false' 13 | RET: 'true' 14 | steps: 15 | - checkout: self 16 | fetchDepth: '2' 17 | - bash: | 18 | git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "` 19 | echo "##vso[task.setvariable variable=log]$git_log" 20 | displayName: Obtain commit message 21 | - bash: echo "##vso[task.setvariable variable=RET]false" 22 | condition: and(eq(variables['Build.Reason'], 'PullRequest'), or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]'))) 23 | displayName: Skip build? 24 | - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET" 25 | name: result 26 | displayName: Export result 27 | - stage: Build 28 | condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) 29 | dependsOn: Check 30 | jobs: 31 | - template: ./.azure-pipelines/azure-pipelines-linux.yml 32 | - template: ./.azure-pipelines/azure-pipelines-osx.yml 33 | - template: ./.azure-pipelines/azure-pipelines-win.yml -------------------------------------------------------------------------------- /recipe/test_vtk.py: -------------------------------------------------------------------------------- 1 | import pkg_resources 2 | import vtk 3 | import sys 4 | import os 5 | 6 | # If this fails it raises a DistributionNotFound exception 7 | pkg_resources.get_distribution('vtk') 8 | 9 | # As of VTK 9.4, Linux and Windows should automatically fall back to using OSMesa 10 | # if there is no valid display or OpenGL is too old, so tests should work on all OSes. 11 | 12 | # test libpng, since this was causing trouble in OSX previously 13 | source = vtk.vtkCubeSource() 14 | 15 | mapper = vtk.vtkPolyDataMapper() 16 | mapper.SetInputConnection(source.GetOutputPort()) 17 | 18 | actor = vtk.vtkActor() 19 | actor.SetMapper(mapper) 20 | 21 | renderer = vtk.vtkRenderer() 22 | renderer.AddActor(actor) 23 | 24 | window = vtk.vtkRenderWindow() 25 | window.AddRenderer(renderer) 26 | window.SetSize(500, 500) 27 | window.Render() 28 | 29 | window_filter = vtk.vtkWindowToImageFilter() 30 | window_filter.SetInput(window) 31 | window_filter.Update() 32 | 33 | writer = vtk.vtkPNGWriter() 34 | writer.SetFileName('cube.png') 35 | writer.SetInputData(window_filter.GetOutput()) 36 | writer.Write() 37 | 38 | # test for https://gitlab.kitware.com/vtk/vtk/-/issues/19258 39 | # test from https://gitlab.archlinux.org/archlinux/packaging/packages/paraview/-/issues/4#note_166231 40 | reader = vtk.vtkXMLUnstructuredGridReader() 41 | reader.SetFileName(os.environ["RECIPE_DIR"] + "/tests/ref.vtu") 42 | reader.Update() 43 | points = reader.GetOutput().GetPoints() 44 | # this will be None with expat 2.6 45 | assert points is not None 46 | assert points.GetNumberOfPoints() == 500 47 | -------------------------------------------------------------------------------- /recipe/vendored-token-license.txt: -------------------------------------------------------------------------------- 1 | Copyright ⓒ 2020-2023, Kitware, Inc. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Kitware, Inc. nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | **This software is provided by the copyright holders and contributors 19 | ``as is'' and any express or implied warranties, including, but not 20 | limited to, the implied warranties of merchantability and fitness for 21 | a particular purpose are disclaimed. In no event shall Kitware, Inc. 22 | or contributors be liable for any direct, indirect, incidental, 23 | special, exemplary, or consequential damages (including, but not 24 | limited to, procurement of substitute goods or services; loss of use, 25 | data, or profits; or business interruption) however caused and on any 26 | theory of liability, whether in contract, strict liability, or tort 27 | (including negligence or otherwise) arising in any way out of the use 28 | of this software, even if advised of the possibility of such damage.** -------------------------------------------------------------------------------- /recipe/vendored-cgns-license.txt: -------------------------------------------------------------------------------- 1 | The distribution and use of the CGNS software is covered by the 2 | following license: 3 | 4 | ----------------------------------------------------------------------- 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must 14 | not claim that you wrote the original software. If you use this 15 | software in a product, an acknowledgment in the product documentation 16 | would be appreciated but is not required. 17 | 18 | 2. Altered source versions must be plainly marked as such, and must not 19 | be misrepresented as being the original software. 20 | 21 | 3. This notice may not be removed or altered from any source distribution. 22 | ----------------------------------------------------------------------- 23 | 24 | This license is borrowed from the zlib/libpng License: 25 | 26 | http://www.opensource.org/licenses/zlib-license.php 27 | 28 | and supersedes the GNU Lesser General Public License (LGPL) which 29 | previously governed the use and distribution of the software. 30 | 31 | For details on the policy governing the distribution of the CGNS 32 | standard and software see: 33 | 34 | http://www.grc.nasa.gov/www/cgns/charter/principles.html 35 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | BSD-3-Clause license 2 | Copyright (c) 2015-2022, conda-forge contributors 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, 9 | this list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 3. Neither the name of the copyright holder nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR 21 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 27 | DAMAGE. 28 | -------------------------------------------------------------------------------- /recipe/vendored-verdict-license.txt: -------------------------------------------------------------------------------- 1 | Copyright 2003,2006,2019 National Technology & Engineering Solutions of Sandia, LLC (NTESS). 2 | Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software. 3 | 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | * Neither the name of the nor the 14 | names of its contributors may be used to endorse or promote products 15 | derived from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 18 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 21 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /recipe/vendored-ioss-license.txt: -------------------------------------------------------------------------------- 1 | Copyright(C) 1999-2017 National Technology & Engineering Solutions 2 | of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with 3 | NTESS, the U.S. Government retains certain rights in this software. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are 7 | met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above 13 | copyright notice, this list of conditions and the following 14 | disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | 17 | * Neither the name of NTESS nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-win.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: win 7 | pool: 8 | vmImage: windows-2022 9 | strategy: 10 | matrix: 11 | win_64_python3.10.____cpython: 12 | CONFIG: win_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | win_64_python3.11.____cpython: 15 | CONFIG: win_64_python3.11.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | win_64_python3.12.____cpython: 18 | CONFIG: win_64_python3.12.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | win_64_python3.13.____cp313: 21 | CONFIG: win_64_python3.13.____cp313 22 | UPLOAD_PACKAGES: 'True' 23 | win_64_python3.14.____cp314: 24 | CONFIG: win_64_python3.14.____cp314 25 | UPLOAD_PACKAGES: 'True' 26 | timeoutInMinutes: 360 27 | variables: 28 | CONDA_BLD_PATH: D:\\bld\\ 29 | MINIFORGE_HOME: D:\Miniforge 30 | UPLOAD_TEMP: D:\\tmp 31 | 32 | steps: 33 | 34 | - script: | 35 | call ".scripts\run_win_build.bat" 36 | displayName: Run Windows build 37 | env: 38 | MINIFORGE_HOME: $(MINIFORGE_HOME) 39 | CONDA_BLD_PATH: $(CONDA_BLD_PATH) 40 | PYTHONUNBUFFERED: 1 41 | CONFIG: $(CONFIG) 42 | CI: azure 43 | flow_run_id: azure_$(Build.BuildNumber).$(System.JobAttempt) 44 | remote_url: $(Build.Repository.Uri) 45 | sha: $(Build.SourceVersion) 46 | UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) 47 | UPLOAD_TEMP: $(UPLOAD_TEMP) 48 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 49 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 50 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 51 | -------------------------------------------------------------------------------- /recipe/manual_vtk_test.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # This simple example shows how to do basic rendering and pipeline 4 | # creation. 5 | 6 | import vtk 7 | # The colors module defines various useful colors. 8 | from vtk.util.colors import tomato 9 | 10 | # This creates a polygonal cylinder model with eight circumferential 11 | # facets. 12 | cylinder = vtk.vtkCylinderSource() 13 | cylinder.SetResolution(8) 14 | 15 | # The mapper is responsible for pushing the geometry into the graphics 16 | # library. It may also do color mapping, if scalars or other 17 | # attributes are defined. 18 | cylinderMapper = vtk.vtkPolyDataMapper() 19 | cylinderMapper.SetInputConnection(cylinder.GetOutputPort()) 20 | 21 | # The actor is a grouping mechanism: besides the geometry (mapper), it 22 | # also has a property, transformation matrix, and/or texture map. 23 | # Here we set its color and rotate it -22.5 degrees. 24 | cylinderActor = vtk.vtkActor() 25 | cylinderActor.SetMapper(cylinderMapper) 26 | cylinderActor.GetProperty().SetColor(tomato) 27 | cylinderActor.RotateX(30.0) 28 | cylinderActor.RotateY(-45.0) 29 | 30 | # Create the graphics structure. The renderer renders into the render 31 | # window. The render window interactor captures mouse events and will 32 | # perform appropriate camera or actor manipulation depending on the 33 | # nature of the events. 34 | ren = vtk.vtkRenderer() 35 | renWin = vtk.vtkRenderWindow() 36 | renWin.AddRenderer(ren) 37 | iren = vtk.vtkRenderWindowInteractor() 38 | iren.SetRenderWindow(renWin) 39 | 40 | # Add the actors to the renderer, set the background and size 41 | ren.AddActor(cylinderActor) 42 | ren.SetBackground(0.1, 0.2, 0.4) 43 | renWin.SetSize(200, 200) 44 | 45 | # This allows the interactor to initalize itself. It has to be 46 | # called before an event loop. 47 | iren.Initialize() 48 | 49 | # We'll zoom in a little by accessing the camera and invoking a "Zoom" 50 | # method on it. 51 | ren.ResetCamera() 52 | ren.GetActiveCamera().Zoom(1.5) 53 | renWin.Render() 54 | 55 | # Start the event loop. 56 | iren.Start() 57 | -------------------------------------------------------------------------------- /recipe/patches/ioss_fix_fmt12.patch: -------------------------------------------------------------------------------- 1 | # Based on https://gitlab.kitware.com/vtk/vtk/-/commit/babf0815174dda42f9725c29c284a71be5749649 2 | diff --git a/ThirdParty/ioss/vtkioss/Ioss_Utils.C b/ThirdParty/ioss/vtkioss/Ioss_Utils.C 3 | index ffc330a531c9..cf99e21ea67d 100644 4 | --- a/ThirdParty/ioss/vtkioss/Ioss_Utils.C 5 | +++ b/ThirdParty/ioss/vtkioss/Ioss_Utils.C 6 | @@ -162,13 +162,13 @@ std::ostream &Ioss::Utils::get_debug_stream() { return *m_debugStream; } 7 | void Ioss::Utils::time_and_date(char *time_string, char *date_string, size_t length) 8 | { 9 | std::time_t t = std::time(nullptr); 10 | - std::string time = fmt::format("{:%H:%M:%S}", fmt::localtime(t)); 11 | + std::string time = fmt::format("{:%H:%M:%S}", *std::localtime(&t)); 12 | std::string date; 13 | if (length >= 10) { 14 | - date = fmt::format("{:%Y/%m/%d}", fmt::localtime(t)); 15 | + date = fmt::format("{:%Y/%m/%d}", *std::localtime(&t)); 16 | } 17 | else { 18 | - date = fmt::format("{:%y/%m/%d}", fmt::localtime(t)); 19 | + date = fmt::format("{:%y/%m/%d}", *std::localtime(&t)); 20 | } 21 | copy_string(time_string, time, 9); 22 | copy_string(date_string, date, length + 1); 23 | diff --git a/ThirdParty/ioss/vtkioss/cgns/Iocgns_Utils.C b/ThirdParty/ioss/vtkioss/cgns/Iocgns_Utils.C 24 | index dd71b676b81d..9c322bccaf90 100644 25 | --- a/ThirdParty/ioss/vtkioss/cgns/Iocgns_Utils.C 26 | +++ b/ThirdParty/ioss/vtkioss/cgns/Iocgns_Utils.C 27 | @@ -1076,8 +1061,8 @@ size_t Iocgns::Utils::common_write_metadata(int file_ptr, const Ioss::Region &re 28 | 29 | CGERR(cg_goto(file_ptr, base, "end")); 30 | std::time_t t = std::time(nullptr); 31 | - std::string date = fmt::format("{:%Y/%m/%d}", fmt::localtime(t)); 32 | - std::string time = fmt::format("{:%H:%M:%S}", fmt::localtime(t)); 33 | + std::string date = fmt::format("{:%Y/%m/%d}", *std::localtime(&t)); 34 | + std::string time = fmt::format("{:%H:%M:%S}", *std::localtime(&t)); 35 | 36 | std::string code_version = region.get_optional_property("code_version", "unknown"); 37 | std::string code_name = region.get_optional_property("code_name", "unknown"); 38 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-osx.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: osx 7 | pool: 8 | vmImage: macOS-15 9 | strategy: 10 | matrix: 11 | osx_64_python3.10.____cpython: 12 | CONFIG: osx_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | osx_64_python3.11.____cpython: 15 | CONFIG: osx_64_python3.11.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | osx_64_python3.12.____cpython: 18 | CONFIG: osx_64_python3.12.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | osx_64_python3.13.____cp313: 21 | CONFIG: osx_64_python3.13.____cp313 22 | UPLOAD_PACKAGES: 'True' 23 | osx_64_python3.14.____cp314: 24 | CONFIG: osx_64_python3.14.____cp314 25 | UPLOAD_PACKAGES: 'True' 26 | osx_arm64_python3.10.____cpython: 27 | CONFIG: osx_arm64_python3.10.____cpython 28 | UPLOAD_PACKAGES: 'True' 29 | osx_arm64_python3.11.____cpython: 30 | CONFIG: osx_arm64_python3.11.____cpython 31 | UPLOAD_PACKAGES: 'True' 32 | osx_arm64_python3.12.____cpython: 33 | CONFIG: osx_arm64_python3.12.____cpython 34 | UPLOAD_PACKAGES: 'True' 35 | osx_arm64_python3.13.____cp313: 36 | CONFIG: osx_arm64_python3.13.____cp313 37 | UPLOAD_PACKAGES: 'True' 38 | osx_arm64_python3.14.____cp314: 39 | CONFIG: osx_arm64_python3.14.____cp314 40 | UPLOAD_PACKAGES: 'True' 41 | timeoutInMinutes: 360 42 | variables: {} 43 | 44 | steps: 45 | # TODO: Fast finish on azure pipelines? 46 | - script: | 47 | export CI=azure 48 | export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) 49 | export remote_url=$(Build.Repository.Uri) 50 | export sha=$(Build.SourceVersion) 51 | export OSX_FORCE_SDK_DOWNLOAD="1" 52 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 53 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 54 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 55 | export IS_PR_BUILD="True" 56 | else 57 | export IS_PR_BUILD="False" 58 | fi 59 | ./.scripts/run_osx_build.sh 60 | displayName: Run OSX build 61 | env: 62 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 63 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 64 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 65 | -------------------------------------------------------------------------------- /recipe/patches/9987_try_except_python_import.patch: -------------------------------------------------------------------------------- 1 | From b9c10a45adb4585d2a897984e3cfcfdb566cc431 Mon Sep 17 00:00:00 2001 2 | From: David Gobbi 3 | Date: Mon, 20 Feb 2023 20:19:39 -0700 4 | Subject: [PATCH] Apply try/except to importing most python modules 5 | 6 | In order to make it easier for package managers to build VTK with 7 | everything and then split it into smaller binary packages, use 8 | a try/except for importing all but the StandAlone and Rendering 9 | modules. This allows "import vtk" to work even if not all of the 10 | built modules are installed. 11 | --- 12 | CMake/vtkModule.cmake | 3 +++ 13 | Wrapping/Python/CMakeLists.txt | 15 +++++++++++++-- 14 | 2 files changed, 16 insertions(+), 2 deletions(-) 15 | 16 | diff --git a/CMake/vtkModule.cmake b/CMake/vtkModule.cmake 17 | index 21b0dda2a95..d93d96e03fe 100644 18 | --- a/CMake/vtkModule.cmake 19 | +++ b/CMake/vtkModule.cmake 20 | @@ -829,6 +829,9 @@ function (vtk_module_scan) 21 | set_property(GLOBAL 22 | PROPERTY 23 | "_vtk_module_${_vtk_scan_module_name}_kit" "${${_vtk_scan_module_name}_KIT}") 24 | + set_property(GLOBAL 25 | + PROPERTY 26 | + "_vtk_module_${_vtk_scan_module_name}_groups" "${${_vtk_scan_module_name}_GROUPS}") 27 | set_property(GLOBAL 28 | PROPERTY 29 | "_vtk_module_${_vtk_scan_module_name}_depends" "${${_vtk_scan_module_name}_DEPENDS}") 30 | diff --git a/Wrapping/Python/CMakeLists.txt b/Wrapping/Python/CMakeLists.txt 31 | index e5340d3ea3c..e5adeca946b 100644 32 | --- a/Wrapping/Python/CMakeLists.txt 33 | +++ b/Wrapping/Python/CMakeLists.txt 34 | @@ -74,16 +74,27 @@ endif () 35 | set(_vtkmodules_all) 36 | set(_vtk_python_imports) 37 | set(_vtk_python_external_imports) 38 | +set(_vtk_python_unconditional_groups StandAlone Rendering) 39 | foreach (_vtk_python_module IN LISTS vtk_python_wrapped_modules) 40 | + get_property(_vtk_python_module_groups 41 | + GLOBAL PROPERTY "_vtk_module_${_vtk_python_module}_groups") 42 | + set(_try "try:\n ") 43 | + set(_except "except ImportError:\n pass\n") 44 | + foreach (_vtk_python_module_group IN LISTS _vtk_python_module_groups) 45 | + if (_vtk_python_module_group IN_LIST _vtk_python_unconditional_groups) 46 | + set(_try) 47 | + set(_except) 48 | + endif () 49 | + endforeach () 50 | get_property(_vtk_python_library_name 51 | TARGET "${_vtk_python_module}" 52 | PROPERTY "INTERFACE_vtk_module_library_name") 53 | string(APPEND _vtkmodules_all 54 | " \'${_vtk_python_library_name}\',\n") 55 | string(APPEND _vtk_python_imports 56 | - "from .${_vtk_python_library_name} import *\n") 57 | + "${_try}from .${_vtk_python_library_name} import *\n${_except}") 58 | string(APPEND _vtk_python_external_imports 59 | - "from vtkmodules.${_vtk_python_library_name} import *\n") 60 | + "${_try}from vtkmodules.${_vtk_python_library_name} import *\n${_except}") 61 | endforeach () 62 | 63 | set(_vtk_python_files) 64 | -- 65 | GitLab 66 | 67 | -------------------------------------------------------------------------------- /.scripts/run_osx_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -*- mode: jinja-shell -*- 4 | 5 | source .scripts/logging_utils.sh 6 | 7 | set -xe 8 | 9 | MINIFORGE_HOME="${MINIFORGE_HOME:-${HOME}/miniforge3}" 10 | MINIFORGE_HOME="${MINIFORGE_HOME%/}" # remove trailing slash 11 | export CONDA_BLD_PATH="${CONDA_BLD_PATH:-${MINIFORGE_HOME}/conda-bld}" 12 | ( startgroup "Provisioning base env with pixi" ) 2> /dev/null 13 | mkdir -p "${MINIFORGE_HOME}" 14 | curl -fsSL https://pixi.sh/install.sh | bash 15 | export PATH="~/.pixi/bin:$PATH" 16 | arch=$(uname -m) 17 | if [[ "$arch" == "x86_64" ]]; then 18 | arch="64" 19 | fi 20 | sed -i.bak "s/platforms = .*/platforms = [\"osx-${arch}\"]/" pixi.toml 21 | echo "Creating environment" 22 | pixi install 23 | pixi list 24 | echo "Activating environment" 25 | eval "$(pixi shell-hook)" 26 | mv pixi.toml.bak pixi.toml 27 | ( endgroup "Provisioning base env with pixi" ) 2> /dev/null 28 | 29 | ( startgroup "Configuring conda" ) 2> /dev/null 30 | export CONDA_SOLVER="libmamba" 31 | export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 32 | 33 | 34 | 35 | 36 | 37 | echo -e "\n\nSetting up the condarc and mangling the compiler." 38 | setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml 39 | 40 | if [[ "${CI:-}" != "" ]]; then 41 | mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml 42 | fi 43 | 44 | if [[ "${CI:-}" != "" ]]; then 45 | echo -e "\n\nMangling homebrew in the CI to avoid conflicts." 46 | /usr/bin/sudo mangle_homebrew 47 | /usr/bin/sudo -k 48 | else 49 | echo -e "\n\nNot mangling homebrew as we are not running in CI" 50 | fi 51 | 52 | if [[ "${sha:-}" == "" ]]; then 53 | sha=$(git rev-parse HEAD) 54 | fi 55 | 56 | echo -e "\n\nRunning the build setup script." 57 | source run_conda_forge_build_setup 58 | 59 | 60 | 61 | ( endgroup "Configuring conda" ) 2> /dev/null 62 | 63 | if [[ -f LICENSE.txt ]]; then 64 | cp LICENSE.txt "recipe/recipe-scripts-license.txt" 65 | fi 66 | 67 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 68 | echo "rattler-build does not currently support debug mode" 69 | else 70 | 71 | if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then 72 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --test skip" 73 | fi 74 | 75 | rattler-build build --recipe ./recipe \ 76 | -m ./.ci_support/${CONFIG}.yaml \ 77 | ${EXTRA_CB_OPTIONS:-} \ 78 | --target-platform "${HOST_PLATFORM}" \ 79 | --extra-meta flow_run_id="$flow_run_id" \ 80 | --extra-meta remote_url="$remote_url" \ 81 | --extra-meta sha="$sha" 82 | 83 | ( startgroup "Inspecting artifacts" ) 2> /dev/null 84 | 85 | # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 86 | command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir ./recipe -m ./.ci_support/${CONFIG}.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 87 | 88 | ( endgroup "Inspecting artifacts" ) 2> /dev/null 89 | ( startgroup "Validating outputs" ) 2> /dev/null 90 | 91 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 92 | 93 | ( endgroup "Validating outputs" ) 2> /dev/null 94 | 95 | ( startgroup "Uploading packages" ) 2> /dev/null 96 | 97 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 98 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml 99 | fi 100 | 101 | ( endgroup "Uploading packages" ) 2> /dev/null 102 | fi 103 | -------------------------------------------------------------------------------- /.scripts/run_docker_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | source .scripts/logging_utils.sh 9 | 10 | ( startgroup "Configure Docker" ) 2> /dev/null 11 | 12 | set -xeo pipefail 13 | 14 | THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" 15 | PROVIDER_DIR="$(basename "$THISDIR")" 16 | 17 | FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" 18 | RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" 19 | 20 | if [ -z ${FEEDSTOCK_NAME} ]; then 21 | export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) 22 | fi 23 | 24 | if [[ "${sha:-}" == "" ]]; then 25 | pushd "${FEEDSTOCK_ROOT}" 26 | sha=$(git rev-parse HEAD) 27 | popd 28 | fi 29 | 30 | docker info 31 | 32 | # In order for the conda-build process in the container to write to the mounted 33 | # volumes, we need to run with the same id as the host machine, which is 34 | # normally the owner of the mounted volumes, or at least has write permission 35 | export HOST_USER_ID=$(id -u) 36 | # Check if docker-machine is being used (normally on OSX) and get the uid from 37 | # the VM 38 | if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then 39 | export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) 40 | fi 41 | 42 | ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" 43 | 44 | if [ -z "$CONFIG" ]; then 45 | set +x 46 | FILES=`ls .ci_support/linux_*` 47 | CONFIGS="" 48 | for file in $FILES; do 49 | CONFIGS="${CONFIGS}'${file:12:-5}' or "; 50 | done 51 | echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" 52 | exit 1 53 | fi 54 | 55 | if [ -z "${DOCKER_IMAGE}" ]; then 56 | SHYAML_INSTALLED="$(shyaml -h || echo NO)" 57 | if [ "${SHYAML_INSTALLED}" == "NO" ]; then 58 | echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" 59 | DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) 60 | if [ "${DOCKER_IMAGE}" = "" ]; then 61 | echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" 62 | DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" 63 | fi 64 | else 65 | DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" 66 | fi 67 | fi 68 | 69 | mkdir -p "$ARTIFACTS" 70 | DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" 71 | rm -f "$DONE_CANARY" 72 | 73 | # Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) 74 | DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" 75 | if [ -z "${CI}" ]; then 76 | DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" 77 | fi 78 | 79 | ( endgroup "Configure Docker" ) 2> /dev/null 80 | 81 | ( startgroup "Start Docker" ) 2> /dev/null 82 | 83 | export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" 84 | export IS_PR_BUILD="${IS_PR_BUILD:-False}" 85 | docker pull "${DOCKER_IMAGE}" 86 | docker run ${DOCKER_RUN_ARGS} \ 87 | -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ 88 | -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ 89 | -e CONFIG \ 90 | -e HOST_USER_ID \ 91 | -e UPLOAD_PACKAGES \ 92 | -e IS_PR_BUILD \ 93 | -e GIT_BRANCH \ 94 | -e UPLOAD_ON_BRANCH \ 95 | -e CI \ 96 | -e FEEDSTOCK_NAME \ 97 | -e CPU_COUNT \ 98 | -e BUILD_WITH_CONDA_DEBUG \ 99 | -e BUILD_OUTPUT_ID \ 100 | -e flow_run_id \ 101 | -e remote_url \ 102 | -e sha \ 103 | -e BINSTAR_TOKEN \ 104 | -e FEEDSTOCK_TOKEN \ 105 | -e STAGING_BINSTAR_TOKEN \ 106 | "${DOCKER_IMAGE}" \ 107 | bash \ 108 | "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" 109 | 110 | # verify that the end of the script was reached 111 | test -f "$DONE_CANARY" 112 | 113 | # This closes the last group opened in `build_steps.sh` 114 | ( endgroup "Final checks" ) 2> /dev/null 115 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-linux.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: linux 7 | pool: 8 | vmImage: ubuntu-latest 9 | strategy: 10 | matrix: 11 | linux_64_python3.10.____cpython: 12 | CONFIG: linux_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 15 | linux_64_python3.11.____cpython: 16 | CONFIG: linux_64_python3.11.____cpython 17 | UPLOAD_PACKAGES: 'True' 18 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 19 | linux_64_python3.12.____cpython: 20 | CONFIG: linux_64_python3.12.____cpython 21 | UPLOAD_PACKAGES: 'True' 22 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 23 | linux_64_python3.13.____cp313: 24 | CONFIG: linux_64_python3.13.____cp313 25 | UPLOAD_PACKAGES: 'True' 26 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 27 | linux_64_python3.14.____cp314: 28 | CONFIG: linux_64_python3.14.____cp314 29 | UPLOAD_PACKAGES: 'True' 30 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 31 | linux_aarch64_python3.10.____cpython: 32 | CONFIG: linux_aarch64_python3.10.____cpython 33 | UPLOAD_PACKAGES: 'True' 34 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 35 | linux_aarch64_python3.11.____cpython: 36 | CONFIG: linux_aarch64_python3.11.____cpython 37 | UPLOAD_PACKAGES: 'True' 38 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 39 | linux_aarch64_python3.12.____cpython: 40 | CONFIG: linux_aarch64_python3.12.____cpython 41 | UPLOAD_PACKAGES: 'True' 42 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 43 | linux_aarch64_python3.13.____cp313: 44 | CONFIG: linux_aarch64_python3.13.____cp313 45 | UPLOAD_PACKAGES: 'True' 46 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 47 | linux_aarch64_python3.14.____cp314: 48 | CONFIG: linux_aarch64_python3.14.____cp314 49 | UPLOAD_PACKAGES: 'True' 50 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 51 | timeoutInMinutes: 360 52 | variables: {} 53 | 54 | steps: 55 | - script: | 56 | sudo mkdir -p /opt/empty_dir || true 57 | for d in \ 58 | /opt/ghc \ 59 | /opt/hostedtoolcache \ 60 | /usr/lib/jvm \ 61 | /usr/local/.ghcup \ 62 | /usr/local/lib/android \ 63 | /usr/local/share/powershell \ 64 | /usr/share/dotnet \ 65 | /usr/share/swift \ 66 | ; do 67 | sudo rsync --stats -a --delete /opt/empty_dir/ $d || true 68 | done 69 | sudo apt-get purge -y -f firefox \ 70 | google-chrome-stable \ 71 | microsoft-edge-stable 72 | sudo apt-get autoremove -y >& /dev/null 73 | sudo apt-get autoclean -y >& /dev/null 74 | df -h 75 | displayName: Manage disk space 76 | # configure qemu binfmt-misc running. This allows us to run docker containers 77 | # embedded qemu-static 78 | - script: | 79 | docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes 80 | ls /proc/sys/fs/binfmt_misc/ 81 | condition: not(startsWith(variables['CONFIG'], 'linux_64')) 82 | displayName: Configure binfmt_misc 83 | 84 | - script: | 85 | export CI=azure 86 | export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) 87 | export remote_url=$(Build.Repository.Uri) 88 | export sha=$(Build.SourceVersion) 89 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 90 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 91 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 92 | export IS_PR_BUILD="True" 93 | else 94 | export IS_PR_BUILD="False" 95 | fi 96 | .scripts/run_docker_build.sh 97 | displayName: Run docker build 98 | env: 99 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 100 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 101 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 102 | -------------------------------------------------------------------------------- /.scripts/build_steps.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | # -*- mode: jinja-shell -*- 9 | 10 | set -xeuo pipefail 11 | export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" 12 | source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh 13 | 14 | 15 | ( endgroup "Start Docker" ) 2> /dev/null 16 | 17 | ( startgroup "Configuring conda" ) 2> /dev/null 18 | 19 | export PYTHONUNBUFFERED=1 20 | export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" 21 | export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" 22 | export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" 23 | 24 | cat >~/.condarc < Set a lower limit in a subshell for the `yum install`s only. 59 | ulimit -n 1024 60 | 61 | # Install the yum requirements defined canonically in the 62 | # "recipe/yum_requirements.txt" file. After updating that file, 63 | # run "conda smithy rerender" and this line will be updated 64 | # automatically. 65 | /usr/bin/sudo -n yum install -y mesa-libGL mesa-libGL-devel mesa-libEGL-devel mesa-dri-drivers libX11-devel libglvnd-glx libglvnd-egl libglvnd-opengl 66 | ) 67 | 68 | # make the build number clobber 69 | make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 70 | 71 | if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then 72 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --test skip" 73 | fi 74 | 75 | 76 | ( endgroup "Configuring conda" ) 2> /dev/null 77 | 78 | if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then 79 | cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" 80 | fi 81 | 82 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 83 | echo "rattler-build currently doesn't support debug mode" 84 | else 85 | 86 | rattler-build build --recipe "${RECIPE_ROOT}" \ 87 | -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 88 | ${EXTRA_CB_OPTIONS:-} \ 89 | --target-platform "${HOST_PLATFORM}" \ 90 | --extra-meta flow_run_id="${flow_run_id:-}" \ 91 | --extra-meta remote_url="${remote_url:-}" \ 92 | --extra-meta sha="${sha:-}" 93 | ( startgroup "Inspecting artifacts" ) 2> /dev/null 94 | 95 | # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 96 | command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 97 | 98 | ( endgroup "Inspecting artifacts" ) 2> /dev/null 99 | ( startgroup "Validating outputs" ) 2> /dev/null 100 | 101 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 102 | 103 | ( endgroup "Validating outputs" ) 2> /dev/null 104 | 105 | ( startgroup "Uploading packages" ) 2> /dev/null 106 | 107 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 108 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 109 | fi 110 | 111 | ( endgroup "Uploading packages" ) 2> /dev/null 112 | fi 113 | 114 | ( startgroup "Final checks" ) 2> /dev/null 115 | 116 | touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" 117 | -------------------------------------------------------------------------------- /recipe/bld-base.bat: -------------------------------------------------------------------------------- 1 | setlocal EnableDelayedExpansion 2 | 3 | mkdir build 4 | cd build 5 | 6 | :: remove -GL from CXXFLAGS 7 | set "CXXFLAGS=-MD" 8 | 9 | set PYTHON_MAJOR_VERSION=%PY_VER:~0,1% 10 | 11 | :: VTK_BUILD_PYI_FILES is disabled as a workaround for 12 | :: https://github.com/conda-forge/vtk-feedstock/pull/417#issuecomment-3591995628 13 | cmake .. -G "Ninja" ^ 14 | -Wno-dev ^ 15 | -DCMAKE_BUILD_TYPE=Release ^ 16 | -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ 17 | -DCMAKE_INSTALL_LIBDIR="Library/lib" ^ 18 | -DCMAKE_INSTALL_BINDIR="Library/bin" ^ 19 | -DCMAKE_INSTALL_INCLUDEDIR="Library/include" ^ 20 | -DCMAKE_INSTALL_DATAROOTDIR="Library/share" ^ 21 | -DCMAKE_INSTALL_PREFIX="%PREFIX%" ^ 22 | -DVTK_PYTHON_SITE_PACKAGES_SUFFIX="Lib/site-packages" ^ 23 | -DBUILD_TESTING:BOOL=OFF ^ 24 | -DBUILD_SHARED_LIBS:BOOL=ON ^ 25 | -DVTK_WRAP_PYTHON:BOOL=ON ^ 26 | -DVTK_WRAP_SERIALIZATION:BOOL=ON ^ 27 | -DVTK_PYTHON_VERSION:STRING="%PYTHON_MAJOR_VERSION%" ^ 28 | -DPython3_FIND_STRATEGY=LOCATION ^ 29 | -DPython3_ROOT_DIR="%PREFIX%" ^ 30 | -DVTK_BUILD_PYI_FILES:BOOL=OFF ^ 31 | -DVTK_HAS_FEENABLEEXCEPT:BOOL=OFF ^ 32 | -DVTK_SMP_ENABLE_TBB:BOOL=ON ^ 33 | -DVTK_USE_EXTERNAL:BOOL=ON ^ 34 | -DVTK_ENABLE_VISKORES_OVERRIDES:BOOL=ON ^ 35 | -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters:STRING=YES ^ 36 | -DVTK_MODULE_ENABLE_VTK_cli11:STRING=YES ^ 37 | -DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2:STRING=YES ^ 38 | -DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics:STRING=YES ^ 39 | -DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict:STRING=YES ^ 40 | -DVTK_MODULE_ENABLE_VTK_IOAvmesh:STRING=YES ^ 41 | -DVTK_MODULE_ENABLE_VTK_IOH5part:STRING=YES ^ 42 | -DVTK_MODULE_ENABLE_VTK_IOH5Rage:STRING=YES ^ 43 | -DVTK_MODULE_ENABLE_VTK_IOOMF:STRING=YES ^ 44 | -DVTK_MODULE_ENABLE_VTK_IOParallelExodus:STRING=YES ^ 45 | -DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna:STRING=YES ^ 46 | -DVTK_MODULE_ENABLE_VTK_IOPIO:STRING=YES ^ 47 | -DVTK_MODULE_ENABLE_VTK_IOTRUCHAS:STRING=YES ^ 48 | -DVTK_MODULE_ENABLE_VTK_IOVPIC:STRING=YES ^ 49 | -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib:STRING=YES ^ 50 | -DVTK_MODULE_ENABLE_VTK_RenderingParallel:STRING=YES ^ 51 | -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR:STRING=YES ^ 52 | -DVTK_MODULE_ENABLE_VTK_WebCore:STRING=YES ^ 53 | -DVTK_MODULE_ENABLE_VTK_WebGLExporter:STRING=YES ^ 54 | -DVTK_MODULE_ENABLE_VTK_WebPython:STRING=YES ^ 55 | -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float:BOOL=OFF ^ 56 | -DVTK_MODULE_USE_EXTERNAL_VTK_libharu:BOOL=OFF ^ 57 | -DVTK_MODULE_USE_EXTERNAL_VTK_loguru:BOOL=OFF ^ 58 | -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF ^ 59 | -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF ^ 60 | -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=ON ^ 61 | -DVTK_MODULE_USE_EXTERNAL_VTK_cgns:BOOL=OFF ^ 62 | -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF ^ 63 | -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF ^ 64 | -DVTK_MODULE_USE_EXTERNAL_VTK_verdict:BOOL=OFF ^ 65 | -DVTK_MODULE_ENABLE_VTK_IOXdmf2:STRING=YES ^ 66 | -DVTK_MODULE_ENABLE_VTK_IOXdmf3:STRING=YES ^ 67 | -DVTK_MODULE_ENABLE_VTK_GUISupportQt:STRING=YES ^ 68 | -DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING=YES ^ 69 | -DLZMA_LIBRARY="%LIBRARY_PREFIX%/lib/lzma.lib" ^ 70 | !VTK_ARGS! 71 | if errorlevel 1 exit 1 72 | 73 | ninja install -j %CPU_COUNT% 74 | if errorlevel 1 exit 1 75 | 76 | REM The egg-info file is necessary because some packages, 77 | REM like mayavi, have a __requires__ in their __init__.py, 78 | REM which means pkg_resources needs to be able to find vtk. 79 | REM See https://setuptools.readthedocs.io/en/latest/pkg_resources.html#workingset-objects 80 | 81 | set egg_info=%SP_DIR%\vtk-%PKG_VERSION%.egg-info 82 | echo>%egg_info% Metadata-Version: 2.1 83 | echo>>%egg_info% Name: vtk 84 | echo>>%egg_info% Version: %PKG_VERSION% 85 | echo>>%egg_info% Summary: VTK is an open-source toolkit for 3D computer graphics, image processing, and visualization 86 | echo>>%egg_info% Platform: UNKNOWN 87 | 88 | if errorlevel 1 exit 1 89 | 90 | REM The METADATA file is necessary to ensure that pip list shows the pip package installed by conda 91 | REM The INSTALLER file is necessary to ensure that pip list shows that the package is installed by conda 92 | REM See https://packaging.python.org/specifications/recording-installed-packages/ 93 | REM and https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata 94 | 95 | mkdir "%SP_DIR%/vtk-%PKG_VERSION%.dist-info" 96 | 97 | set metadata_file=%SP_DIR%\vtk-%PKG_VERSION%.dist-info\METADATA 98 | echo>%metadata_file% Metadata-Version: 2.1 99 | echo>>%metadata_file% Name: vtk 100 | echo>>%metadata_file% Version: %PKG_VERSION% 101 | echo>>%metadata_file% Summary: VTK is an open-source toolkit for 3D computer graphics, image processing, and visualization 102 | 103 | set installer_file=%SP_DIR%\vtk-%PKG_VERSION%.dist-info\INSTALLER 104 | echo>%installer_file% conda 105 | -------------------------------------------------------------------------------- /.scripts/run_win_build.bat: -------------------------------------------------------------------------------- 1 | :: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 2 | :: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 3 | :: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 4 | :: benefit from the improvement. 5 | 6 | :: INPUTS (required environment variables) 7 | :: CONFIG: name of the .ci_support/*.yaml file for this job 8 | :: CI: azure, github_actions, or unset 9 | :: MINIFORGE_HOME: where to install the base conda environment 10 | :: UPLOAD_PACKAGES: true or false 11 | :: UPLOAD_ON_BRANCH: true or false 12 | 13 | setlocal enableextensions enabledelayedexpansion 14 | 15 | FOR %%A IN ("%~dp0.") DO SET "REPO_ROOT=%%~dpA" 16 | if "%MINIFORGE_HOME%"=="" ( 17 | set "MINIFORGE_HOME=%REPO_ROOT%\.pixi\envs\default" 18 | ) else ( 19 | set "PIXI_CACHE_DIR=%MINIFORGE_HOME%" 20 | ) 21 | :: Remove trailing backslash, if present 22 | if "%MINIFORGE_HOME:~-1%"=="\" set "MINIFORGE_HOME=%MINIFORGE_HOME:~0,-1%" 23 | call :start_group "Provisioning base env with pixi" 24 | echo Installing pixi 25 | powershell -NoProfile -ExecutionPolicy unrestricted -Command "iwr -useb https://pixi.sh/install.ps1 | iex" 26 | if !errorlevel! neq 0 exit /b !errorlevel! 27 | set "PATH=%USERPROFILE%\.pixi\bin;%PATH%" 28 | echo Installing environment 29 | if "%PIXI_CACHE_DIR%"=="%MINIFORGE_HOME%" ( 30 | mkdir "%MINIFORGE_HOME%" 31 | copy /Y pixi.toml "%MINIFORGE_HOME%" 32 | pushd "%MINIFORGE_HOME%" 33 | ) else ( 34 | pushd "%REPO_ROOT%" 35 | ) 36 | move /y pixi.toml pixi.toml.bak 37 | set "arch=64" 38 | if "%PROCESSOR_ARCHITECTURE%"=="ARM64" set "arch=arm64" 39 | powershell -NoProfile -ExecutionPolicy unrestricted -Command "(Get-Content pixi.toml.bak -Encoding UTF8) -replace 'platforms = .*', 'platforms = [''win-%arch%'']' | Out-File pixi.toml -Encoding UTF8" 40 | :: Git on Windows needs to run post link scripts to properly set up SSL certificates 41 | pixi config set --global run-post-link-scripts insecure 42 | if !errorlevel! neq 0 exit /b !errorlevel! 43 | pixi install 44 | if !errorlevel! neq 0 exit /b !errorlevel! 45 | pixi list 46 | if !errorlevel! neq 0 exit /b !errorlevel! 47 | set "ACTIVATE_PIXI=%TMP%\pixi-activate-%RANDOM%.bat" 48 | pixi shell-hook > "%ACTIVATE_PIXI%" 49 | if !errorlevel! neq 0 exit /b !errorlevel! 50 | call "%ACTIVATE_PIXI%" 51 | if !errorlevel! neq 0 exit /b !errorlevel! 52 | move /y pixi.toml.bak pixi.toml 53 | popd 54 | call :end_group 55 | 56 | call :start_group "Configuring conda" 57 | 58 | :: Activate the base conda environment 59 | :: Configure the solver 60 | set "CONDA_SOLVER=libmamba" 61 | if !errorlevel! neq 0 exit /b !errorlevel! 62 | set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" 63 | 64 | :: Set basic configuration 65 | echo Setting up configuration 66 | setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml 67 | if !errorlevel! neq 0 exit /b !errorlevel! 68 | echo Running build setup 69 | CALL run_conda_forge_build_setup 70 | 71 | 72 | if !errorlevel! neq 0 exit /b !errorlevel! 73 | 74 | if EXIST LICENSE.txt ( 75 | echo Copying feedstock license 76 | copy LICENSE.txt "recipe\\recipe-scripts-license.txt" 77 | ) 78 | if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( 79 | if [%CROSSCOMPILING_EMULATOR%] == [] ( 80 | set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --test skip" 81 | ) 82 | ) 83 | 84 | if NOT [%flow_run_id%] == [] ( 85 | set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% --extra-meta remote_url=%remote_url% --extra-meta sha=%sha%" 86 | ) 87 | 88 | call :end_group 89 | 90 | :: Build the recipe 91 | echo Building recipe 92 | rattler-build.exe build --recipe "recipe" -m .ci_support\%CONFIG%.yaml %EXTRA_CB_OPTIONS% --target-platform %HOST_PLATFORM% 93 | if !errorlevel! neq 0 exit /b !errorlevel! 94 | 95 | call :start_group "Inspecting artifacts" 96 | :: inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 97 | WHERE inspect_artifacts >nul 2>nul && inspect_artifacts --recipe-dir ".\recipe" -m .ci_support\%CONFIG%.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 98 | call :end_group 99 | 100 | :: Prepare some environment variables for the upload step 101 | if /i "%CI%" == "github_actions" ( 102 | set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" 103 | set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" 104 | if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( 105 | set "IS_PR_BUILD=True" 106 | ) else ( 107 | set "IS_PR_BUILD=False" 108 | ) 109 | set "TEMP=%RUNNER_TEMP%" 110 | ) 111 | if /i "%CI%" == "azure" ( 112 | set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" 113 | set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" 114 | if /i "%BUILD_REASON%" == "PullRequest" ( 115 | set "IS_PR_BUILD=True" 116 | ) else ( 117 | set "IS_PR_BUILD=False" 118 | ) 119 | set "TEMP=%UPLOAD_TEMP%" 120 | ) 121 | 122 | :: Validate 123 | call :start_group "Validating outputs" 124 | validate_recipe_outputs "%FEEDSTOCK_NAME%" 125 | if !errorlevel! neq 0 exit /b !errorlevel! 126 | call :end_group 127 | 128 | if /i "%UPLOAD_PACKAGES%" == "true" ( 129 | if /i "%IS_PR_BUILD%" == "false" ( 130 | call :start_group "Uploading packages" 131 | if not exist "%TEMP%\" md "%TEMP%" 132 | set "TMP=%TEMP%" 133 | upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml 134 | if !errorlevel! neq 0 exit /b !errorlevel! 135 | call :end_group 136 | ) 137 | ) 138 | 139 | exit 140 | 141 | :: Logging subroutines 142 | 143 | :start_group 144 | if /i "%CI%" == "github_actions" ( 145 | echo ::group::%~1 146 | exit /b 147 | ) 148 | if /i "%CI%" == "azure" ( 149 | echo ##[group]%~1 150 | exit /b 151 | ) 152 | echo %~1 153 | exit /b 154 | 155 | :end_group 156 | if /i "%CI%" == "github_actions" ( 157 | echo ::endgroup:: 158 | exit /b 159 | ) 160 | if /i "%CI%" == "azure" ( 161 | echo ##[endgroup] 162 | exit /b 163 | ) 164 | exit /b 165 | -------------------------------------------------------------------------------- /recipe/build-base.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | BUILD_CONFIG=Release 6 | 7 | # Use bash "Remove Largest Suffix Pattern" to get rid of all but major version number 8 | PYTHON_MAJOR_VERSION=${PY_VER%%.*} 9 | 10 | if [[ "${target_platform}" =~ osx-arm64 && "${target_platform}" != "${build_platform}" ]]; then 11 | rm -f "${PREFIX}/lib/qt6/moc" 12 | ln -s "${BUILD_PREFIX}/lib/qt6/moc" "${PREFIX}/lib/qt6/moc" 13 | 14 | # Additional debugging information 15 | echo "Adjusted Qt tools for osx-arm64 with build variant qt6" 16 | echo "Removed: ${PREFIX}/lib/qt6/moc" 17 | echo "Linked to: ${BUILD_PREFIX}/lib/qt6/moc" 18 | else 19 | echo "Skipping Qt tools adjustment. Target platform: ${target_platform}" 20 | fi 21 | 22 | VTK_ARGS=() 23 | 24 | if [[ "${target_platform}" == linux-* ]]; then 25 | VTK_ARGS+=( 26 | "-DVTK_USE_X:BOOL=ON" 27 | "-DOPENGL_opengl_LIBRARY:FILEPATH=${PREFIX}/lib/libGL.so.1" 28 | "-DVTK_OPENGL_HAS_EGL:BOOL=ON" 29 | "-DOPENGL_egl_LIBRARY:FILEPATH=${PREFIX}/lib/libEGL.so.1" 30 | ) 31 | elif [[ "${target_platform}" == osx-* ]]; then 32 | VTK_ARGS+=( 33 | "-DVTK_USE_COCOA:BOOL=ON" 34 | "-DCMAKE_OSX_SYSROOT:PATH=${CONDA_BUILD_SYSROOT}" 35 | "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=OFF" 36 | ) 37 | fi 38 | 39 | if [[ "$target_platform" != "linux-ppc64le" ]]; then 40 | VTK_ARGS+=( 41 | "-DVTK_MODULE_ENABLE_VTK_GUISupportQt:STRING=YES" 42 | "-DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING=YES" 43 | ) 44 | fi 45 | 46 | if [[ "$target_platform" == osx-* ]]; then 47 | # incompatible function pointers become errors in clang >=16 48 | export CFLAGS="${CFLAGS} -Wno-incompatible-pointer-types" 49 | export CXXFLAGS="${CXXFLAGS} -Wno-incompatible-pointer-types" 50 | fi 51 | 52 | if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then 53 | ( 54 | mkdir build-native 55 | cd build-native 56 | export CC=$CC_FOR_BUILD 57 | export CXX=$CXX_FOR_BUILD 58 | unset CFLAGS 59 | unset CXXFLAGS 60 | unset CPPFLAGS 61 | export LDFLAGS=${LDFLAGS//$PREFIX/$BUILD_PREFIX} 62 | cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$SRC_DIR/vtk-compile-tools \ 63 | -DCMAKE_PREFIX_PATH=$BUILD_PREFIX \ 64 | -DCMAKE_INSTALL_LIBDIR=lib \ 65 | -DVTK_BUILD_COMPILE_TOOLS_ONLY=ON .. 66 | ninja -j${CPU_COUNT} 67 | ninja install -j${CPU_COUNT} 68 | cd .. 69 | ) 70 | MAJ_MIN=$(echo $PKG_VERSION | rev | cut -d"." -f2- | rev) 71 | CMAKE_ARGS="${CMAKE_ARGS} -DVTKCompileTools_DIR=$SRC_DIR/vtk-compile-tools/lib/cmake/vtkcompiletools-${MAJ_MIN}/" 72 | CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_REQUIRE_LARGE_FILE_SUPPORT=1 -DCMAKE_REQUIRE_LARGE_FILE_SUPPORT__TRYRUN_OUTPUT=" 73 | CMAKE_ARGS="${CMAKE_ARGS} -DVTK_REQUIRE_LARGE_FILE_SUPPORT_EXITCODE=0 -DVTK_REQUIRE_LARGE_FILE_SUPPORT_EXITCODE__TRYRUN_OUTPUT=" 74 | CMAKE_ARGS="${CMAKE_ARGS} -DXDMF_REQUIRE_LARGE_FILE_SUPPORT_EXITCODE=0 -DXDMF_REQUIRE_LARGE_FILE_SUPPORT_EXITCODE__TRYRUN_OUTPUT=" 75 | fi 76 | 77 | # Only build pyi files when natively compiling 78 | if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then 79 | CMAKE_ARGS="${CMAKE_ARGS} -DVTK_BUILD_PYI_FILES:BOOL=OFF" 80 | else 81 | CMAKE_ARGS="${CMAKE_ARGS} -DVTK_BUILD_PYI_FILES:BOOL=ON" 82 | fi 83 | 84 | mkdir build 85 | cd build || exit 86 | 87 | echo "VTK_ARGS:" "${VTK_ARGS[@]}" 88 | 89 | # now we can start configuring 90 | cmake -LAH .. -G "Ninja" ${CMAKE_ARGS} \ 91 | -Wno-dev \ 92 | -DCMAKE_BUILD_TYPE=$BUILD_CONFIG \ 93 | -DCMAKE_PREFIX_PATH:PATH="${PREFIX}" \ 94 | -DCMAKE_FIND_FRAMEWORK=LAST \ 95 | -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \ 96 | -DCMAKE_INSTALL_RPATH:PATH="${PREFIX}/lib" \ 97 | -DCMAKE_INSTALL_LIBDIR:PATH=lib \ 98 | -DVTK_BUILD_DOCUMENTATION:BOOL=OFF \ 99 | -DVTK_BUILD_TESTING:BOOL=OFF \ 100 | -DVTK_BUILD_EXAMPLES:BOOL=OFF \ 101 | -DBUILD_SHARED_LIBS:BOOL=ON \ 102 | -DVTK_LEGACY_SILENT:BOOL=OFF \ 103 | -DVTK_HAS_FEENABLEEXCEPT:BOOL=OFF \ 104 | -DVTK_WRAP_PYTHON:BOOL=ON \ 105 | -DVTK_WRAP_SERIALIZATION:BOOL=ON \ 106 | -DVTK_PYTHON_VERSION:STRING="${PYTHON_MAJOR_VERSION}" \ 107 | -DPython3_EXECUTABLE=$PYTHON \ 108 | -DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN:BOOL=OFF \ 109 | -DVTK_USE_TK:BOOL=ON \ 110 | -DVTK_SMP_ENABLE_TBB:BOOL=ON \ 111 | -DVTK_ENABLE_VISKORES_OVERRIDES:BOOL=ON \ 112 | -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters:STRING=YES \ 113 | -DVTK_MODULE_ENABLE_VTK_cli11=YES \ 114 | -DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2:STRING=YES \ 115 | -DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=YES \ 116 | -DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=YES \ 117 | -DVTK_MODULE_ENABLE_VTK_IOAvmesh:STRING=YES \ 118 | -DVTK_MODULE_ENABLE_VTK_IOFFMPEG:STRING=YES \ 119 | -DVTK_MODULE_ENABLE_VTK_IOH5part:STRING=YES \ 120 | -DVTK_MODULE_ENABLE_VTK_IOH5Rage:STRING=YES \ 121 | -DVTK_MODULE_ENABLE_VTK_IOOMF:STRING=YES \ 122 | -DVTK_MODULE_ENABLE_VTK_IOParallelExodus:STRING=YES \ 123 | -DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna:STRING=YES \ 124 | -DVTK_MODULE_ENABLE_VTK_IOPIO:STRING=YES \ 125 | -DVTK_MODULE_ENABLE_VTK_IOTRUCHAS:STRING=YES \ 126 | -DVTK_MODULE_ENABLE_VTK_IOVPIC:STRING=YES \ 127 | -DVTK_MODULE_ENABLE_VTK_IOXdmf2:STRING=YES \ 128 | -DVTK_MODULE_ENABLE_VTK_IOXdmf3:STRING=YES \ 129 | -DVTK_MODULE_ENABLE_VTK_PythonContext2D:STRING=YES \ 130 | -DVTK_MODULE_ENABLE_VTK_PythonInterpreter:STRING=NO \ 131 | -DVTK_MODULE_ENABLE_VTK_RenderingContext2D:STRING=YES \ 132 | -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2:STRING=YES \ 133 | -DVTK_MODULE_ENABLE_VTK_RenderingCore:STRING=YES \ 134 | -DVTK_MODULE_ENABLE_VTK_RenderingFreeType:STRING=YES \ 135 | -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib:STRING=YES \ 136 | -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2:STRING=YES \ 137 | -DVTK_MODULE_ENABLE_VTK_RenderingParallel:STRING=YES \ 138 | -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR:STRING=YES \ 139 | -DVTK_MODULE_ENABLE_VTK_ViewsContext2D:STRING=YES \ 140 | -DVTK_MODULE_ENABLE_VTK_ViewsCore:STRING=YES \ 141 | -DVTK_MODULE_ENABLE_VTK_WebCore:STRING=YES \ 142 | -DVTK_MODULE_ENABLE_VTK_WebGLExporter:STRING=YES \ 143 | -DVTK_MODULE_ENABLE_VTK_WebPython:STRING=YES \ 144 | -DVTK_USE_EXTERNAL:BOOL=ON \ 145 | -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float:BOOL=OFF \ 146 | -DVTK_MODULE_USE_EXTERNAL_VTK_libharu:BOOL=OFF \ 147 | -DVTK_MODULE_USE_EXTERNAL_VTK_loguru:BOOL=OFF \ 148 | -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF \ 149 | -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \ 150 | -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=ON \ 151 | -DVTK_MODULE_USE_EXTERNAL_VTK_cgns:BOOL=OFF \ 152 | -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ 153 | -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ 154 | -DVTK_MODULE_USE_EXTERNAL_VTK_verdict:BOOL=OFF \ 155 | -DQT_HOST_PATH:STRING="${PREFIX}" \ 156 | "${VTK_ARGS[@]}" 157 | 158 | # compile & install! 159 | ninja install -j${CPU_COUNT} -v 160 | 161 | # Create a directory for the vtk-io-ffmpeg package 162 | # and find the ffmpeg-related files and process each of them 163 | FFMPEG_DIR="$(dirname $(dirname $PREFIX))/vtk_ffmpeg_dir_${PKG_VERSION}_${PY_VER}" 164 | mkdir -p "$FFMPEG_DIR" 165 | find $PREFIX -name "*vtkIOFFMPEG*" -print0 | while IFS= read -r -d '' file; do 166 | dest_dir="$FFMPEG_DIR/${file#$PREFIX/}" 167 | mkdir -p "$(dirname "$dest_dir")" 168 | mv "$file" "$dest_dir" 169 | done 170 | 171 | 172 | # The egg-info file is necessary because some packages, 173 | # like mayavi, have a __requires__ in their __invtkRenderWindow::New()it__.py, 174 | # which means pkg_resources needs to be able to find vtk. 175 | # See https://setuptools.readthedocs.io/en/latest/pkg_resources.html#workingset-objects 176 | 177 | cat > $SP_DIR/vtk-$PKG_VERSION.egg-info < $SP_DIR/vtk-$PKG_VERSION.dist-info/METADATA < $SP_DIR/vtk-$PKG_VERSION.dist-info/INSTALLER < 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | _AQAAAACAAADQBwAAGwAAAA==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AQAAAACAAACgDwAAFQMAAA==eJwtxUMAEAgAALBs27Zt27Zt27Zt27Zt27Z1yD3aPgsY4K9ADuwgDupgDu4QDulQDu0wDutwDu8IjuhIjuwojupoju4YjulYju04jut4ju8ETuhETuwkTupkTu4UTulUTu00Tut0Tu8MzuhMzuwszupszu4czulczu08zut8zu8CLuhCLuwiLupiLu4SLulSLu0yLutyLu8KruhKruwqrupqru4arularu06rut6ru8GbuhGbuwmbupmbu4WbulWbu02but2bu8O7uhO7uwu7upu7u4e7ule7u0+7ut+7u8BHuhBHuwhHuphHu4RHulRHu0xHutxHu8JnuhJnuwpnuppnu4ZnulZnu05nut5nu8FXuhFXuwlXuplXu4VXulVXu01Xut1Xu8N3uhN3uwt3upt3u4d3uld3u093ut93u8DPuhDPuwjPupjPu4TPulTPu0zPutzPu8LvuhLvuwrvuprvu4bvulbvu07vut7vu8HfuhHfuwnfupnfu4XfulXfu03fut3fu8P/uhP/uwv/sf/+j//76/+5u/+4Z/+5d8OEFAO5MAO4qAO5uAO4ZAO5dAO47AO5/CO4IiO5MiO4qiO5uiO4ZiO5diO47iO5/hO4IRO5MRO4qRO5uRO4ZRO5dRO47RO5/TO4IzO5MzO4qzO5uzO4ZzO5dzO47zO5/wu4IIu5MIu4qIu5uIu4ZIu5dIu47Iu5/Ku4Iqu5Mqu4qqu5uqu4Zqu5dqu47qu5/pu4IZu5MZu4qZu5uZu4ZZu5dZu47Zu5/bu4I7u5M7u4q7u5u7u4Z7u5d7u477u5/4e4IEe5MEe4qEe5uEe4ZEe5dEe47Ee5/Ge4Ime5Mme4qme5ume4Zme5dme47me5/le4IVe5MVe4qVe5uVe4ZVe5dVe47Ve5/Xe4I3e5M3e4q3e5u3e4Z3e5d3e473e5/0+4IM+5MM+4qM+5uM+4ZM+5dM+47M+5/O+4Iu+5Mu+4qu+5uu+4Zu+5du+47u+5/t+4Id+5Md+4qd+5ud+4Zd+5dd+47d+5/f+4I/+5M/+4j/Mb/U4AQAAAACAAAD0AQAADgAAAA==eJxjZBwFIw0AAOtFAfU= 21 | 22 | 23 | -------------------------------------------------------------------------------- /recipe/recipe.yaml: -------------------------------------------------------------------------------- 1 | # yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json 2 | 3 | context: 4 | version: "9.5.2" 5 | build: 5 6 | minor_version: ${{ (version | split('.'))[:2] | join('.') }} 7 | 8 | recipe: 9 | name: vtk-split 10 | version: ${{ version }} 11 | 12 | source: 13 | url: http://www.vtk.org/files/release/${{ minor_version }}/VTK-${{ version }}.tar.gz 14 | sha256: cee64b98d270ff7302daf1ef13458dff5d5ac1ecb45d47723835f7f7d562c989 15 | patches: 16 | - if: win 17 | then: 18 | - patches/fix-threads-windows.patch 19 | # https://github.com/conda-forge/vtk-feedstock/pull/282 20 | # https://gitlab.kitware.com/vtk/vtk/-/issues/18365#note_1079278 21 | # https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9987 22 | else: 23 | - patches/9987_try_except_python_import.patch 24 | - patches/expat_use_pkgconfig_version.patch 25 | - patches/ioss_fix_fmt12.patch 26 | 27 | build: 28 | number: ${{ build }} 29 | 30 | outputs: 31 | - package: 32 | name: vtk-base 33 | build: 34 | script: 35 | - if: not win 36 | then: ${RECIPE_DIR}/build-base.sh 37 | else: "%RECIPE_DIR%\\bld-base.bat" 38 | post_process: 39 | - if: unix 40 | then: 41 | - files: 42 | - "*.cmake" 43 | regex: '([^;\s"]+/sysroot)' 44 | replacement: "$${CONDA_BUILD_SYSROOT}" 45 | - if: osx 46 | then: 47 | - files: 48 | - "*.cmake" 49 | regex: '([^;\s"]+/MacOSX\d*\.?\d*\.sdk)' 50 | replacement: "$${CONDA_BUILD_SYSROOT}" 51 | requirements: 52 | build: 53 | - ${{ compiler("cxx") }} 54 | - ${{ stdlib("c") }} 55 | - cmake 56 | - ninja 57 | - if: build_platform != target_platform 58 | then: 59 | - python 60 | - cross-python_${{ target_platform }} 61 | - qt6-main 62 | host: 63 | - python 64 | - zlib 65 | - liblzma-devel 66 | - freetype 67 | - hdf5 68 | - hdf5 * nompi_* 69 | - libxml2-devel 70 | - libpng 71 | - libjpeg-turbo 72 | - libtiff 73 | - jsoncpp 74 | - expat 75 | - fmt 76 | - tbb 77 | - tbb-devel 78 | - libnetcdf 79 | - libnetcdf * nompi_* 80 | - lz4-c 81 | # TODO: Someday we should add Vulkan once it can be found in conda-forge 82 | # These packages are not CDT to help with compat with other builds 83 | # (e.g., tensorflow, qt-main), e.g. 84 | # https://github.com/conda-forge/qt-main-feedstock/blob/2b166b35e9e1a2d897640ac28ae4b00491d9e310/recipe/meta.yaml#L134-L138 85 | - if: linux 86 | then: 87 | - libgl-devel 88 | - libegl-devel 89 | - libglvnd-devel 90 | - libglx-devel 91 | - libglu 92 | - libopengl-devel 93 | - libxcb 94 | - libxkbfile 95 | - libuuid 96 | # still missing: Xaccessrules Xxf86misc, xcb_errors, xcb_xrm 97 | - xorg-xproto 98 | - xorg-libxcursor 99 | - xorg-libxft 100 | - xorg-libxt 101 | - xorg-libxv 102 | - xorg-libxext 103 | - xorg-libxres 104 | - xorg-libxaw 105 | - xorg-libxinerama 106 | - xorg-libxpm 107 | - xorg-libxmu 108 | - xorg-libxxf86vm 109 | - xorg-libx11 110 | - xorg-xf86vidmodeproto 111 | - libboost-headers 112 | - ffmpeg 113 | - ffmpeg * lgpl_* 114 | - utfcpp 115 | - eigen 116 | - cli11 117 | - double-conversion 118 | - pugixml 119 | - glad2-cmake 120 | - glad2 121 | - libogg 122 | - libtheora 123 | - nlohmann_json 124 | - proj 125 | - sqlite 126 | - viskores =1.0 127 | # Until this is solved: 128 | # https://gitlab.kitware.com/vtk/vtk/-/issues/19561 129 | # we use the internal one in build-base.sh 130 | - if: not osx 131 | then: 132 | - gl2ps 133 | - if: not ppc64le 134 | then: 135 | - qt6-main 136 | run: 137 | - python 138 | - utfcpp 139 | - nlohmann_json 140 | - cli11 141 | - loguru 142 | - numpy 143 | - wslink 144 | - matplotlib-base >=2.0.0 145 | run_constraints: 146 | - ${{ pin_compatible('libboost-headers', upper_bound='x.x') }} 147 | run_exports: 148 | - ${{ pin_subpackage('vtk-base', upper_bound='x.x.x') }} 149 | ignore_run_exports: 150 | by_name: 151 | - if: not win 152 | then: 153 | - ffmpeg 154 | # Found via inspection of the conda-forge logs, hopefully okay to ignore: 155 | - if: linux 156 | then: 157 | - xorg-libxext 158 | - xorg-libxxf86vm 159 | - xorg-libxft 160 | - xorg-libxt 161 | - xorg-libxmu 162 | - libxcb 163 | - libglvd 164 | - libuuid 165 | - xorg-libxv 166 | - libgl 167 | - xorg-libxpm 168 | - libegl 169 | - xorg-libxinerama 170 | tests: 171 | - python: 172 | imports: 173 | - vtk 174 | - vtk.vtkChartsCore 175 | - vtk.vtkCommonCore 176 | - vtk.vtkFiltersCore 177 | - vtk.vtkFiltersGeneric 178 | - vtk.vtkGeovisCore 179 | - vtk.vtkFiltersHybrid 180 | - vtk.vtkIOCore 181 | - vtk.vtkImagingCore 182 | - vtk.vtkInfovisCore 183 | - vtk.vtkRenderingCore 184 | - vtk.vtkViewsCore 185 | - vtk.vtkRenderingVolume 186 | - vtk.vtkInteractionWidgets 187 | - vtk.vtkWebGLExporter 188 | - vtkmodules 189 | - vtkmodules.vtkChartsCore 190 | - vtkmodules.vtkCommonCore 191 | - vtkmodules.vtkFiltersCore 192 | - vtkmodules.vtkFiltersGeneric 193 | - vtkmodules.vtkGeovisCore 194 | - vtkmodules.vtkFiltersHybrid 195 | - vtkmodules.vtkIOCore 196 | - vtkmodules.vtkImagingCore 197 | - vtkmodules.vtkInfovisCore 198 | - vtkmodules.vtkRenderingCore 199 | - vtkmodules.vtkRenderingMatplotlib 200 | - vtkmodules.vtkViewsCore 201 | - vtkmodules.vtkRenderingQt 202 | - vtkmodules.vtkRenderingVolume 203 | - vtkmodules.vtkInteractionWidgets 204 | - vtkmodules.vtkWebCore 205 | - vtkmodules.web 206 | - vtkmodules.web.utils 207 | - if: not win 208 | then: 209 | - vtkmodules.tk.vtkTkRenderWidget 210 | - script: 211 | # We test the import vtkmodules.qt.QVTKRenderWindowInteractor here as it requires 212 | # the pyisde6 optional dependency, that we can't add as a dependency in the python tests section 213 | - if: not ppc64le 214 | then: 215 | - python -c "import vtkmodules.qt.QVTKRenderWindowInteractor" 216 | - if: unix 217 | then: 218 | - test $(pip list | grep vtk | tr -s " " | grep $PKG_VERSION | wc -l) -eq 1 219 | - if: win 220 | then: 221 | - pip list | findstr "vtk" 222 | # Ideally here we would do: 223 | # {% for vtk_lib in ["vtkGUISupportQt", "vtkRenderingQt"] %} 224 | # ... 225 | # {% endfor %} 226 | # But it breaks the linter :( so we do it manually 227 | - if not exist %PREFIX%\\Library\\lib\\vtkGUISupportQt-${{ minor_version }}.lib exit 1 228 | - if not exist %PREFIX%\\Library\\bin\\vtkGUISupportQt-${{ minor_version }}.dll exit 1 229 | - if not exist %PREFIX%\\Library\\lib\\vtkRenderingQt-${{ minor_version }}.lib exit 1 230 | - if not exist %PREFIX%\\Library\\bin\\vtkRenderingQt-${{ minor_version }}.dll exit 1 231 | else: 232 | - test -f $PREFIX/lib/libvtkGUISupportQt-${{ minor_version }}${SHLIB_EXT} 233 | - test -f $PREFIX/lib/libvtkRenderingQt-${{ minor_version }}${SHLIB_EXT} 234 | requirements: 235 | run: 236 | - pip 237 | - setuptools 238 | - if: not ppc64le 239 | then: 240 | - pyside6 241 | 242 | - package: 243 | name: vtk-io-ffmpeg 244 | build: 245 | skip: 246 | - win 247 | script: 248 | - if: not win 249 | then: ${RECIPE_DIR}/build-io-ffmpeg.sh 250 | else: exit 1 251 | requirements: 252 | build: [] 253 | host: 254 | # We use python and ffmpeg here in the host section so that conda build 255 | # uses the global pinnings and ensures compatibility, as both ffmpeg and python 256 | # are dependency of the package 257 | - python 258 | - ffmpeg 259 | run: 260 | - ${{ pin_subpackage("vtk-base", exact=true) }} 261 | - ffmpeg 262 | run_exports: 263 | - ${{ pin_subpackage('vtk-io-ffmpeg', upper_bound='x.x.x') }} 264 | tests: 265 | - python: 266 | imports: 267 | - vtk.vtkIOFFMPEG 268 | 269 | - package: 270 | name: vtk 271 | build: {} 272 | requirements: 273 | build: [] 274 | host: 275 | - python 276 | run: 277 | # The pin_subpackage is not exact to avoid issues like https://github.com/conda-forge/vtk-feedstock/issues/347 278 | # and https://github.com/conda-forge/vtk-feedstock/issues/372 279 | - ${{ pin_subpackage("vtk-base", upper_bound='x.x.x') }} 280 | - if: not win 281 | then: 282 | - ${{ pin_subpackage("vtk-io-ffmpeg", upper_bound='x.x.x') }} 283 | # The following dependencies are here to make sure that find_package(VTK) works fine, they could be moved to vtk-devel if that is ever created 284 | - if: linux 285 | then: 286 | - libgl-devel 287 | - libopengl-devel 288 | - libboost-devel 289 | - liblzma-devel 290 | - tbb-devel 291 | - eigen 292 | - expat 293 | run_exports: 294 | - ${{ pin_subpackage('vtk-base', upper_bound='x.x.x') }} 295 | tests: 296 | - python: 297 | imports: 298 | - vtk 299 | - if: not win 300 | then: 301 | - python: 302 | imports: 303 | - vtk.vtkIOFFMPEG 304 | - script: 305 | # uncomment once we fix test_vtk.py, see https://github.com/conda-forge/vtk-feedstock/issues/383#issuecomment-2890722669 306 | # - python test_vtk.py 307 | - cmake-package-check VTK 308 | requirements: 309 | run: 310 | - pip 311 | - setuptools 312 | - cmake-package-check 313 | - ${{ compiler('c') }} 314 | - ${{ compiler('cxx') }} 315 | - libxml2-devel 316 | 317 | about: 318 | homepage: http://www.vtk.org/ 319 | license: BSD-3-Clause 320 | license_file: 321 | - Copyright.txt 322 | - vendored-fast_float-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/fast_float/vtkfast_float/LICENSE-MIT 323 | - vendored-libharu-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/libharu/vtklibharu/LICENSE 324 | - vendored-loguru-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/v9.4.1/ThirdParty/loguru/vtkloguru/LICENSE 325 | - vendored-pegtl-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/pegtl/vtkpegtl/LICENSE 326 | - vendored-exprtk-license.txt # https://github.com/conda-forge/exprtk-feedstock/blob/main/license.txt 327 | - vendored-cgns-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/cgns/vtkcgns/license.txt 328 | - vendored-ioss-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/ioss/vtkioss/COPYRIGHT 329 | - vendored-token-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/token/vtktoken/license.md 330 | - vendored-verdict-license.txt # https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/verdict/vtkverdict/LICENSE 331 | summary: > 332 | The Visualization Toolkit (VTK) is an open-source, freely available software system for 3D computer graphics, modeling, image processing, volume rendering, scientific visualization, and information visualization. 333 | repository: https://gitlab.kitware.com/vtk/vtk 334 | documentation: https://vtk.org/documentation 335 | 336 | extra: 337 | feedstock-name: vtk 338 | recipe-maintainers: 339 | - traversaro 340 | - Maxyme 341 | - ccordoba12 342 | - grlee77 343 | - msarahan 344 | - patricksnape 345 | - dfroger 346 | - tadeu 347 | - marcelotrevisani 348 | - downiec 349 | - jasonb5 350 | - matthiasdiener 351 | - basnijholt 352 | - Tobias-Fischer 353 | - vicentebolea 354 | -------------------------------------------------------------------------------- /pixi.toml: -------------------------------------------------------------------------------- 1 | # -*- mode: toml -*- 2 | # This file was generated automatically from conda-smithy. To update this configuration, 3 | # update the conda-forge.yml and/or the recipe/meta.yaml. 4 | "$schema" = "https://pixi.sh/v0.59.0/schema/manifest/schema.json" 5 | 6 | [workspace] 7 | name = "vtk-feedstock" 8 | version = "3.53.3" # conda-smithy version used to generate this file 9 | description = "Pixi configuration for conda-forge/vtk-feedstock" 10 | authors = ["@conda-forge/vtk"] 11 | channels = ["conda-forge"] 12 | platforms = ["linux-64", "osx-64", "win-64"] 13 | requires-pixi = ">=0.59.0" 14 | 15 | [dependencies] 16 | conda-build = ">=24.1" 17 | conda-forge-ci-setup = "4.*" 18 | rattler-build = "*" 19 | 20 | [tasks.inspect-all] 21 | cmd = "inspect_artifacts --all-packages" 22 | description = "List contents of all packages found in rattler-build build directory." 23 | [tasks.build] 24 | cmd = "rattler-build build --recipe recipe" 25 | description = "Build vtk-feedstock directly (without setup scripts), no particular variant specified" 26 | [tasks."build-linux_64_python3.10.____cpython"] 27 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_python3.10.____cpython.yaml" 28 | description = "Build vtk-feedstock with variant linux_64_python3.10.____cpython directly (without setup scripts)" 29 | [tasks."inspect-linux_64_python3.10.____cpython"] 30 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_python3.10.____cpython.yaml" 31 | description = "List contents of vtk-feedstock packages built for variant linux_64_python3.10.____cpython" 32 | [tasks."build-linux_64_python3.11.____cpython"] 33 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_python3.11.____cpython.yaml" 34 | description = "Build vtk-feedstock with variant linux_64_python3.11.____cpython directly (without setup scripts)" 35 | [tasks."inspect-linux_64_python3.11.____cpython"] 36 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_python3.11.____cpython.yaml" 37 | description = "List contents of vtk-feedstock packages built for variant linux_64_python3.11.____cpython" 38 | [tasks."build-linux_64_python3.12.____cpython"] 39 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_python3.12.____cpython.yaml" 40 | description = "Build vtk-feedstock with variant linux_64_python3.12.____cpython directly (without setup scripts)" 41 | [tasks."inspect-linux_64_python3.12.____cpython"] 42 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_python3.12.____cpython.yaml" 43 | description = "List contents of vtk-feedstock packages built for variant linux_64_python3.12.____cpython" 44 | [tasks."build-linux_64_python3.13.____cp313"] 45 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_python3.13.____cp313.yaml" 46 | description = "Build vtk-feedstock with variant linux_64_python3.13.____cp313 directly (without setup scripts)" 47 | [tasks."inspect-linux_64_python3.13.____cp313"] 48 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_python3.13.____cp313.yaml" 49 | description = "List contents of vtk-feedstock packages built for variant linux_64_python3.13.____cp313" 50 | [tasks."build-linux_64_python3.14.____cp314"] 51 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_python3.14.____cp314.yaml" 52 | description = "Build vtk-feedstock with variant linux_64_python3.14.____cp314 directly (without setup scripts)" 53 | [tasks."inspect-linux_64_python3.14.____cp314"] 54 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_python3.14.____cp314.yaml" 55 | description = "List contents of vtk-feedstock packages built for variant linux_64_python3.14.____cp314" 56 | [tasks."build-linux_aarch64_python3.10.____cpython"] 57 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_python3.10.____cpython.yaml" 58 | description = "Build vtk-feedstock with variant linux_aarch64_python3.10.____cpython directly (without setup scripts)" 59 | [tasks."inspect-linux_aarch64_python3.10.____cpython"] 60 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_python3.10.____cpython.yaml" 61 | description = "List contents of vtk-feedstock packages built for variant linux_aarch64_python3.10.____cpython" 62 | [tasks."build-linux_aarch64_python3.11.____cpython"] 63 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_python3.11.____cpython.yaml" 64 | description = "Build vtk-feedstock with variant linux_aarch64_python3.11.____cpython directly (without setup scripts)" 65 | [tasks."inspect-linux_aarch64_python3.11.____cpython"] 66 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_python3.11.____cpython.yaml" 67 | description = "List contents of vtk-feedstock packages built for variant linux_aarch64_python3.11.____cpython" 68 | [tasks."build-linux_aarch64_python3.12.____cpython"] 69 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_python3.12.____cpython.yaml" 70 | description = "Build vtk-feedstock with variant linux_aarch64_python3.12.____cpython directly (without setup scripts)" 71 | [tasks."inspect-linux_aarch64_python3.12.____cpython"] 72 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_python3.12.____cpython.yaml" 73 | description = "List contents of vtk-feedstock packages built for variant linux_aarch64_python3.12.____cpython" 74 | [tasks."build-linux_aarch64_python3.13.____cp313"] 75 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_python3.13.____cp313.yaml" 76 | description = "Build vtk-feedstock with variant linux_aarch64_python3.13.____cp313 directly (without setup scripts)" 77 | [tasks."inspect-linux_aarch64_python3.13.____cp313"] 78 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_python3.13.____cp313.yaml" 79 | description = "List contents of vtk-feedstock packages built for variant linux_aarch64_python3.13.____cp313" 80 | [tasks."build-linux_aarch64_python3.14.____cp314"] 81 | cmd = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_python3.14.____cp314.yaml" 82 | description = "Build vtk-feedstock with variant linux_aarch64_python3.14.____cp314 directly (without setup scripts)" 83 | [tasks."inspect-linux_aarch64_python3.14.____cp314"] 84 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_python3.14.____cp314.yaml" 85 | description = "List contents of vtk-feedstock packages built for variant linux_aarch64_python3.14.____cp314" 86 | [tasks."build-osx_64_python3.10.____cpython"] 87 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.10.____cpython.yaml" 88 | description = "Build vtk-feedstock with variant osx_64_python3.10.____cpython directly (without setup scripts)" 89 | [tasks."inspect-osx_64_python3.10.____cpython"] 90 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.10.____cpython.yaml" 91 | description = "List contents of vtk-feedstock packages built for variant osx_64_python3.10.____cpython" 92 | [tasks."build-osx_64_python3.11.____cpython"] 93 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.11.____cpython.yaml" 94 | description = "Build vtk-feedstock with variant osx_64_python3.11.____cpython directly (without setup scripts)" 95 | [tasks."inspect-osx_64_python3.11.____cpython"] 96 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.11.____cpython.yaml" 97 | description = "List contents of vtk-feedstock packages built for variant osx_64_python3.11.____cpython" 98 | [tasks."build-osx_64_python3.12.____cpython"] 99 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.12.____cpython.yaml" 100 | description = "Build vtk-feedstock with variant osx_64_python3.12.____cpython directly (without setup scripts)" 101 | [tasks."inspect-osx_64_python3.12.____cpython"] 102 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.12.____cpython.yaml" 103 | description = "List contents of vtk-feedstock packages built for variant osx_64_python3.12.____cpython" 104 | [tasks."build-osx_64_python3.13.____cp313"] 105 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.13.____cp313.yaml" 106 | description = "Build vtk-feedstock with variant osx_64_python3.13.____cp313 directly (without setup scripts)" 107 | [tasks."inspect-osx_64_python3.13.____cp313"] 108 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.13.____cp313.yaml" 109 | description = "List contents of vtk-feedstock packages built for variant osx_64_python3.13.____cp313" 110 | [tasks."build-osx_64_python3.14.____cp314"] 111 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.14.____cp314.yaml" 112 | description = "Build vtk-feedstock with variant osx_64_python3.14.____cp314 directly (without setup scripts)" 113 | [tasks."inspect-osx_64_python3.14.____cp314"] 114 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.14.____cp314.yaml" 115 | description = "List contents of vtk-feedstock packages built for variant osx_64_python3.14.____cp314" 116 | [tasks."build-osx_arm64_python3.10.____cpython"] 117 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.10.____cpython.yaml" 118 | description = "Build vtk-feedstock with variant osx_arm64_python3.10.____cpython directly (without setup scripts)" 119 | [tasks."inspect-osx_arm64_python3.10.____cpython"] 120 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.10.____cpython.yaml" 121 | description = "List contents of vtk-feedstock packages built for variant osx_arm64_python3.10.____cpython" 122 | [tasks."build-osx_arm64_python3.11.____cpython"] 123 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.11.____cpython.yaml" 124 | description = "Build vtk-feedstock with variant osx_arm64_python3.11.____cpython directly (without setup scripts)" 125 | [tasks."inspect-osx_arm64_python3.11.____cpython"] 126 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.11.____cpython.yaml" 127 | description = "List contents of vtk-feedstock packages built for variant osx_arm64_python3.11.____cpython" 128 | [tasks."build-osx_arm64_python3.12.____cpython"] 129 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.12.____cpython.yaml" 130 | description = "Build vtk-feedstock with variant osx_arm64_python3.12.____cpython directly (without setup scripts)" 131 | [tasks."inspect-osx_arm64_python3.12.____cpython"] 132 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.12.____cpython.yaml" 133 | description = "List contents of vtk-feedstock packages built for variant osx_arm64_python3.12.____cpython" 134 | [tasks."build-osx_arm64_python3.13.____cp313"] 135 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.13.____cp313.yaml" 136 | description = "Build vtk-feedstock with variant osx_arm64_python3.13.____cp313 directly (without setup scripts)" 137 | [tasks."inspect-osx_arm64_python3.13.____cp313"] 138 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.13.____cp313.yaml" 139 | description = "List contents of vtk-feedstock packages built for variant osx_arm64_python3.13.____cp313" 140 | [tasks."build-osx_arm64_python3.14.____cp314"] 141 | cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.14.____cp314.yaml" 142 | description = "Build vtk-feedstock with variant osx_arm64_python3.14.____cp314 directly (without setup scripts)" 143 | [tasks."inspect-osx_arm64_python3.14.____cp314"] 144 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.14.____cp314.yaml" 145 | description = "List contents of vtk-feedstock packages built for variant osx_arm64_python3.14.____cp314" 146 | [tasks."build-win_64_python3.10.____cpython"] 147 | cmd = "rattler-build build --recipe recipe -m .ci_support/win_64_python3.10.____cpython.yaml" 148 | description = "Build vtk-feedstock with variant win_64_python3.10.____cpython directly (without setup scripts)" 149 | [tasks."inspect-win_64_python3.10.____cpython"] 150 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/win_64_python3.10.____cpython.yaml" 151 | description = "List contents of vtk-feedstock packages built for variant win_64_python3.10.____cpython" 152 | [tasks."build-win_64_python3.11.____cpython"] 153 | cmd = "rattler-build build --recipe recipe -m .ci_support/win_64_python3.11.____cpython.yaml" 154 | description = "Build vtk-feedstock with variant win_64_python3.11.____cpython directly (without setup scripts)" 155 | [tasks."inspect-win_64_python3.11.____cpython"] 156 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/win_64_python3.11.____cpython.yaml" 157 | description = "List contents of vtk-feedstock packages built for variant win_64_python3.11.____cpython" 158 | [tasks."build-win_64_python3.12.____cpython"] 159 | cmd = "rattler-build build --recipe recipe -m .ci_support/win_64_python3.12.____cpython.yaml" 160 | description = "Build vtk-feedstock with variant win_64_python3.12.____cpython directly (without setup scripts)" 161 | [tasks."inspect-win_64_python3.12.____cpython"] 162 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/win_64_python3.12.____cpython.yaml" 163 | description = "List contents of vtk-feedstock packages built for variant win_64_python3.12.____cpython" 164 | [tasks."build-win_64_python3.13.____cp313"] 165 | cmd = "rattler-build build --recipe recipe -m .ci_support/win_64_python3.13.____cp313.yaml" 166 | description = "Build vtk-feedstock with variant win_64_python3.13.____cp313 directly (without setup scripts)" 167 | [tasks."inspect-win_64_python3.13.____cp313"] 168 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/win_64_python3.13.____cp313.yaml" 169 | description = "List contents of vtk-feedstock packages built for variant win_64_python3.13.____cp313" 170 | [tasks."build-win_64_python3.14.____cp314"] 171 | cmd = "rattler-build build --recipe recipe -m .ci_support/win_64_python3.14.____cp314.yaml" 172 | description = "Build vtk-feedstock with variant win_64_python3.14.____cp314 directly (without setup scripts)" 173 | [tasks."inspect-win_64_python3.14.____cp314"] 174 | cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/win_64_python3.14.____cp314.yaml" 175 | description = "List contents of vtk-feedstock packages built for variant win_64_python3.14.____cp314" 176 | 177 | [feature.smithy.dependencies] 178 | conda-smithy = "*" 179 | [feature.smithy.tasks.build-locally] 180 | cmd = "python ./build-locally.py" 181 | description = "Build packages locally using the same setup scripts used in conda-forge's CI" 182 | [feature.smithy.tasks.smithy] 183 | cmd = "conda-smithy" 184 | description = "Run conda-smithy. Pass necessary arguments." 185 | [feature.smithy.tasks.rerender] 186 | cmd = "conda-smithy rerender" 187 | description = "Rerender the feedstock." 188 | [feature.smithy.tasks.lint] 189 | cmd = "conda-smithy lint --conda-forge recipe" 190 | description = "Lint the feedstock recipe" 191 | 192 | [environments] 193 | smithy = ["smithy"] 194 | 195 | # This is a copy of default, to be enabled by build_steps.sh during Docker builds 196 | # __PLATFORM_SPECIFIC_ENV__ = [] 197 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About vtk-feedstock 2 | =================== 3 | 4 | Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/vtk-feedstock/blob/main/LICENSE.txt) 5 | 6 | Home: http://www.vtk.org/ 7 | 8 | Package license: BSD-3-Clause 9 | 10 | Summary: The Visualization Toolkit (VTK) is an open-source, freely available software system for 3D computer graphics, modeling, image processing, volume rendering, scientific visualization, and information visualization. 11 | 12 | Development: https://gitlab.kitware.com/vtk/vtk 13 | 14 | Documentation: https://vtk.org/documentation 15 | 16 | Current build status 17 | ==================== 18 | 19 | 20 | 21 | 22 | 23 | 24 | 213 | 214 |
Azure 25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 40 | 41 | 42 | 47 | 48 | 49 | 54 | 55 | 56 | 61 | 62 | 63 | 68 | 69 | 70 | 75 | 76 | 77 | 82 | 83 | 84 | 89 | 90 | 91 | 96 | 97 | 98 | 103 | 104 | 105 | 110 | 111 | 112 | 117 | 118 | 119 | 124 | 125 | 126 | 131 | 132 | 133 | 138 | 139 | 140 | 145 | 146 | 147 | 152 | 153 | 154 | 159 | 160 | 161 | 166 | 167 | 168 | 173 | 174 | 175 | 180 | 181 | 182 | 187 | 188 | 189 | 194 | 195 | 196 | 201 | 202 | 203 | 208 | 209 | 210 |
VariantStatus
linux_64_python3.10.____cpython 36 | 37 | variant 38 | 39 |
linux_64_python3.11.____cpython 43 | 44 | variant 45 | 46 |
linux_64_python3.12.____cpython 50 | 51 | variant 52 | 53 |
linux_64_python3.13.____cp313 57 | 58 | variant 59 | 60 |
linux_64_python3.14.____cp314 64 | 65 | variant 66 | 67 |
linux_aarch64_python3.10.____cpython 71 | 72 | variant 73 | 74 |
linux_aarch64_python3.11.____cpython 78 | 79 | variant 80 | 81 |
linux_aarch64_python3.12.____cpython 85 | 86 | variant 87 | 88 |
linux_aarch64_python3.13.____cp313 92 | 93 | variant 94 | 95 |
linux_aarch64_python3.14.____cp314 99 | 100 | variant 101 | 102 |
osx_64_python3.10.____cpython 106 | 107 | variant 108 | 109 |
osx_64_python3.11.____cpython 113 | 114 | variant 115 | 116 |
osx_64_python3.12.____cpython 120 | 121 | variant 122 | 123 |
osx_64_python3.13.____cp313 127 | 128 | variant 129 | 130 |
osx_64_python3.14.____cp314 134 | 135 | variant 136 | 137 |
osx_arm64_python3.10.____cpython 141 | 142 | variant 143 | 144 |
osx_arm64_python3.11.____cpython 148 | 149 | variant 150 | 151 |
osx_arm64_python3.12.____cpython 155 | 156 | variant 157 | 158 |
osx_arm64_python3.13.____cp313 162 | 163 | variant 164 | 165 |
osx_arm64_python3.14.____cp314 169 | 170 | variant 171 | 172 |
win_64_python3.10.____cpython 176 | 177 | variant 178 | 179 |
win_64_python3.11.____cpython 183 | 184 | variant 185 | 186 |
win_64_python3.12.____cpython 190 | 191 | variant 192 | 193 |
win_64_python3.13.____cp313 197 | 198 | variant 199 | 200 |
win_64_python3.14.____cp314 204 | 205 | variant 206 | 207 |
211 |
212 |
215 | 216 | Current release info 217 | ==================== 218 | 219 | | Name | Downloads | Version | Platforms | 220 | | --- | --- | --- | --- | 221 | | [![Conda Recipe](https://img.shields.io/badge/recipe-vtk-green.svg)](https://anaconda.org/conda-forge/vtk) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/vtk.svg)](https://anaconda.org/conda-forge/vtk) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/vtk.svg)](https://anaconda.org/conda-forge/vtk) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/vtk.svg)](https://anaconda.org/conda-forge/vtk) | 222 | | [![Conda Recipe](https://img.shields.io/badge/recipe-vtk--base-green.svg)](https://anaconda.org/conda-forge/vtk-base) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/vtk-base.svg)](https://anaconda.org/conda-forge/vtk-base) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/vtk-base.svg)](https://anaconda.org/conda-forge/vtk-base) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/vtk-base.svg)](https://anaconda.org/conda-forge/vtk-base) | 223 | | [![Conda Recipe](https://img.shields.io/badge/recipe-vtk--io--ffmpeg-green.svg)](https://anaconda.org/conda-forge/vtk-io-ffmpeg) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/vtk-io-ffmpeg.svg)](https://anaconda.org/conda-forge/vtk-io-ffmpeg) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/vtk-io-ffmpeg.svg)](https://anaconda.org/conda-forge/vtk-io-ffmpeg) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/vtk-io-ffmpeg.svg)](https://anaconda.org/conda-forge/vtk-io-ffmpeg) | 224 | 225 | Installing vtk 226 | ============== 227 | 228 | Installing `vtk` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 229 | 230 | ``` 231 | conda config --add channels conda-forge 232 | conda config --set channel_priority strict 233 | ``` 234 | 235 | Once the `conda-forge` channel has been enabled, `vtk, vtk-base, vtk-io-ffmpeg` can be installed with `conda`: 236 | 237 | ``` 238 | conda install vtk vtk-base vtk-io-ffmpeg 239 | ``` 240 | 241 | or with `mamba`: 242 | 243 | ``` 244 | mamba install vtk vtk-base vtk-io-ffmpeg 245 | ``` 246 | 247 | It is possible to list all of the versions of `vtk` available on your platform with `conda`: 248 | 249 | ``` 250 | conda search vtk --channel conda-forge 251 | ``` 252 | 253 | or with `mamba`: 254 | 255 | ``` 256 | mamba search vtk --channel conda-forge 257 | ``` 258 | 259 | Alternatively, `mamba repoquery` may provide more information: 260 | 261 | ``` 262 | # Search all versions available on your platform: 263 | mamba repoquery search vtk --channel conda-forge 264 | 265 | # List packages depending on `vtk`: 266 | mamba repoquery whoneeds vtk --channel conda-forge 267 | 268 | # List dependencies of `vtk`: 269 | mamba repoquery depends vtk --channel conda-forge 270 | ``` 271 | 272 | 273 | About conda-forge 274 | ================= 275 | 276 | [![Powered by 277 | NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org) 278 | 279 | conda-forge is a community-led conda channel of installable packages. 280 | In order to provide high-quality builds, the process has been automated into the 281 | conda-forge GitHub organization. The conda-forge organization contains one repository 282 | for each of the installable packages. Such a repository is known as a *feedstock*. 283 | 284 | A feedstock is made up of a conda recipe (the instructions on what and how to build 285 | the package) and the necessary configurations for automatic building using freely 286 | available continuous integration services. Thanks to the awesome service provided by 287 | [Azure](https://azure.microsoft.com/en-us/services/devops/), [GitHub](https://github.com/), 288 | [CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/), 289 | [Drone](https://cloud.drone.io/welcome), and [TravisCI](https://travis-ci.com/) 290 | it is possible to build and upload installable packages to the 291 | [conda-forge](https://anaconda.org/conda-forge) [anaconda.org](https://anaconda.org/) 292 | channel for Linux, Windows and OSX respectively. 293 | 294 | To manage the continuous integration and simplify feedstock maintenance, 295 | [conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. 296 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 297 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 298 | 299 | For more information, please check the [conda-forge documentation](https://conda-forge.org/docs/). 300 | 301 | Terminology 302 | =========== 303 | 304 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 305 | 306 | **conda-smithy** - the tool which helps orchestrate the feedstock. 307 | Its primary use is in the construction of the CI ``.yml`` files 308 | and simplify the management of *many* feedstocks. 309 | 310 | **conda-forge** - the place where the feedstock and smithy live and work to 311 | produce the finished article (built conda distributions) 312 | 313 | 314 | Updating vtk-feedstock 315 | ====================== 316 | 317 | If you would like to improve the vtk recipe or build a new 318 | package version, please fork this repository and submit a PR. Upon submission, 319 | your changes will be run on the appropriate platforms to give the reviewer an 320 | opportunity to confirm that the changes result in a successful build. Once 321 | merged, the recipe will be re-built and uploaded automatically to the 322 | `conda-forge` channel, whereupon the built conda packages will be available for 323 | everybody to install and use from the `conda-forge` channel. 324 | Note that all branches in the conda-forge/vtk-feedstock are 325 | immediately built and any created packages are uploaded, so PRs should be based 326 | on branches in forks, and branches in the main repository should only be used to 327 | build distinct package versions. 328 | 329 | In order to produce a uniquely identifiable distribution: 330 | * If the version of a package **is not** being increased, please add or increase 331 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). 332 | * If the version of a package **is** being increased, please remember to return 333 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) 334 | back to 0. 335 | 336 | Feedstock Maintainers 337 | ===================== 338 | 339 | * [@Maxyme](https://github.com/Maxyme/) 340 | * [@Tobias-Fischer](https://github.com/Tobias-Fischer/) 341 | * [@basnijholt](https://github.com/basnijholt/) 342 | * [@ccordoba12](https://github.com/ccordoba12/) 343 | * [@dfroger](https://github.com/dfroger/) 344 | * [@downiec](https://github.com/downiec/) 345 | * [@grlee77](https://github.com/grlee77/) 346 | * [@jasonb5](https://github.com/jasonb5/) 347 | * [@marcelotrevisani](https://github.com/marcelotrevisani/) 348 | * [@matthiasdiener](https://github.com/matthiasdiener/) 349 | * [@msarahan](https://github.com/msarahan/) 350 | * [@patricksnape](https://github.com/patricksnape/) 351 | * [@tadeu](https://github.com/tadeu/) 352 | * [@traversaro](https://github.com/traversaro/) 353 | * [@vicentebolea](https://github.com/vicentebolea/) 354 | 355 | --------------------------------------------------------------------------------