qir-alliance/pyqir

Problem and Solution for Consolidating Build Setup - Suggested contribution

owen-oqc opened this issue · 2 comments

Is your feature request related to a problem? Please describe.

The build instructions differ significantly from OS to OS and require a number of automated installation steps.

Describe the solution you had in mind

I have worked through your build instructions and generated a conda env that pulls all the requirements together. That would make the setup steps looks like.

conda env create -f pyqir.yaml && conda activate pyqir

Which can bring in cmake, rust, python 3.9, ....

This works well on my OSX M1 env

Additional context

As I have done this i'd gladly make the contribution directly if you wanted it.

Hi @owen-oqc, I'd be happy to look a potential setup with conda. If you would like to submit a PR or post your environment file here, we can take a look and discuss.