{"id":26098004,"url":"https://github.com/simpleitk/simpleitkcondarecipe","last_synced_at":"2025-07-03T17:37:01.297Z","repository":{"id":16695236,"uuid":"80447434","full_name":"SimpleITK/SimpleITKCondaRecipe","owner":"SimpleITK","description":"A Conda recipe for build SimpleITK for the Anaconda Python distribution.","archived":false,"fork":false,"pushed_at":"2024-09-03T22:16:43.000Z","size":82,"stargazers_count":4,"open_issues_count":4,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T17:31:37.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://anaconda.org/SimpleITK","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimpleITK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-30T17:57:04.000Z","updated_at":"2024-01-12T18:04:11.000Z","dependencies_parsed_at":"2025-04-12T13:19:19.692Z","dependency_job_id":null,"html_url":"https://github.com/SimpleITK/SimpleITKCondaRecipe","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/SimpleITK/SimpleITKCondaRecipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleITK%2FSimpleITKCondaRecipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleITK%2FSimpleITKCondaRecipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleITK%2FSimpleITKCondaRecipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleITK%2FSimpleITKCondaRecipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimpleITK","download_url":"https://codeload.github.com/SimpleITK/SimpleITKCondaRecipe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleITK%2FSimpleITKCondaRecipe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263370345,"owners_count":23456459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-09T15:59:33.941Z","updated_at":"2025-07-03T17:37:01.242Z","avatar_url":"https://github.com/SimpleITK.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleITK Conda Recipe\n\nThis repository contains the [Conda build recipe](https://conda.io/docs/building/recipe.html) for SimpleITK.\n\n## Anaconda Cloud Compiled Binaries\n\n[![Anaconda-Server Badge](https://anaconda.org/simpleitk/simpleitk/badges/installer/conda.svg)](https://anaconda.org/simpleitk/simpleitk)\n[![Anaconda-Server Badge](https://anaconda.org/simpleitk/simpleitk/badges/version.svg)](https://anaconda.org/simpleitk/simpleitk)\n[![Anaconda-Server Badge](https://anaconda.org/simpleitk/simpleitk/badges/downloads.svg)](https://anaconda.org/simpleitk/simpleitk)\n\nBinaries of the current SimpleITK release for Anaconda on various operating systems and Python versions can be found on\nAnaconda cloud's [SimpleITK channel](https://anaconda.org/simpleitk/simpleitk).\n\n```\nconda install -c simpleitk simpleitk\n```\n\n### Pre-releases\n\nPre-releases are available under the `dev` label on Adnaconda Cloud.\n\n\n```\nconda install -c simpleitk/label/dev simpleitk\n```\n\n\n## I really do need to build\n\n### Prerequisite software\n\n1. [Anaconda](https://www.continuum.io/) Python distribution with conda-build installed:\n   ```\n   conda install conda-build\n   ```\n   The [Conda documentation](https://conda.io/projects/conda-build/en/latest/install-conda-build.html) also recommends updating the installation if you have an older install:\n\n   ```\n   conda update conda\n   conda update conda-build\n   ```\n2. [Git](https://git-scm.com/) version control system.\n3. Compiler (e.g. gcc4.8).  \nOn Windows Visual C++ 14.0 is the supported version for Python 3.5-7.  It comes with Visual Studio 2015.  More recent versions of Visual Studio will not work by default.  \nLinks to download VS2015 can be found [here](https://stackoverflow.com/questions/44290672/how-to-download-visual-studio-community-edition-2015-not-2017).\n\n### Process\n\nTo build SimpleITK you need to clone this repository and run the build recipe. This will create the package appropriate for your currently active Python version:\n\n```\ngit clone https://github.com/SimpleITK/SimpleITKCondaRecipe.git\ncd SimpleITKCondaRecipe\nconda build recipe\n```\n\nYou can also build for a version of Python which is not the currently active one, for example Python 3.8:\n```\ngit clone https://github.com/SimpleITK/SimpleITKCondaRecipe.git\ncd SimpleITKCondaRecipe\nconda build --python 3.8 recipe\n```\n\nBoth builds above will use the currently released SimpleITK version which is specified in the [meta.yaml](recipe/meta.yaml) file. If you want another version, such as SimpleITK's current master branch, you will need to make the following two edits to the yaml file.\n\nIn the source section change the git tag:\n```\ngit_tag: master\n```\n\nIn the package section change the version tag:\n```\nversion: \"your_custom_version\"\n```\n### Installation\n\nTo install the package and all its dependencies we need to point conda to a channel, this can be a channel on [Anaconda Cloud](https://anaconda.org) or a local [custom channel](https://conda.io/docs/custom-channels.html).\n\nIn general, the directory where the package was created serves as a custom channel and you install it as follows:\n```\nconda install --use-local simpleitk\n```\n\nIf you have multiple versions of the package you can specify the version of simpleitk as shown at the top of this page.\n\n### Advanced - managing multiple local versions\n\nUsing the --use-local option is equivalent to\n```\nconda install -c file://your_anaconda_directory/conda-bld simpleitk\n```\nYou can also create your own custom channel, add the package to the relevant subdirectory based on your platform, and update the index. For example on OSX:\n```\nmkdir -p my-local-conda-channel/osx-64\ncp simpleitk-*.tar.bz2 my-local-conda-channel/osx-64/\nconda index my-local-conda-channel/osx-64/\n```\nThen install from that custom channel:\n```\nconda install -c file://my-local-conda-channel simpleitk\n```\n\nIf the package is not found in the local channel conda will attempt to retrieve it from other channels. For example if you have the simpleitk channel listed in your .condarc file you may get a simpleitk package, not necessarily the one you wanted, your local version which wasn't found.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpleitk%2Fsimpleitkcondarecipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimpleitk%2Fsimpleitkcondarecipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpleitk%2Fsimpleitkcondarecipe/lists"}