Creating a Conda recipe
See original GitHub issueI propose we get a conda build recipe up for vtki because of the headaches that Windows installations bring:
I’ve been running into trouble making vtki a dependency of my project PVGeo. When I run the Windows CI testing (AppVeyor) for the environment:
Environment: PYTHON_VERSION=3.6, CONDA=C:\Miniconda36; Platform: x86
The setup.py script for vtki tries to add VTK to the dependencies but it is unavailable for that build from pip, only from conda.
Collecting vtk (from vtki>=0.13.0->-r requirements.txt (line 9))
Could not find a version that satisfies the requirement vtk (from vtki>=0.13.0->-r requirements.txt (line 9)) (from versions: )
No matching distribution found for vtk (from vtki>=0.13.0->-r requirements.txt (line 9))
Perhaps we should change the setup.py script to always warn on windows? Or better yet, do you (@akaszynski) know how to setup conda build recipes?
I haven’t been able to figure this out for myself but I beginning to see that conda recipes will be a necessity for projects depending on VTK.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Conda-build recipes
Building a conda package requires a recipe. A conda-build recipe is a flat directory that contains the following files: meta.yaml ---A file that...
Read more >How to build Conda packages?
The conda build process · Reads the metadata. · Downloads the source into a cache. · Extracts the source into the source directory....
Read more >Simple Guide to Conda Packages
Conda -forge is “a community-led collection of recipes, build infrastructure and distributions for the Conda package manager”.
Read more >Packaging software with conda - IGWN | Computing
A recipe is a collection of files that define how to build a Conda package. Each recipe minimally contains a meta.yaml file that...
Read more >Conda Packages — The Joy of Packaging 0.1 documentation
Building Conda Packages¶ ; Introducing conda-build¶. Orchestrates environment creation, activation, and build/test processes. Can build conda packages and/or ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The maintainers of vtk put out wheels for most Python/OS combinations, but they’re missing wheels for Windows 32 bit and Python 2.7 for Win64, which is why it can’t be installed using pip. They do, however, maintain conda recipes at vtk-anaconda. I’m going to add a note in the setup file about this and inform the user that if they’re using Windows, they might try using conda.
See #127