At the moment building locally inplace doesn't work unless you first run dwave/gate/simulator/operation_generation.py, this makes it so that the documentation is right and python setup.py build_ext --inplace should work. I don't think it's the most clean solution, but I couldn't get a solution with a custom build_py class as a command python setup.py generate_gates to work because of the cythonize() causing a build failure before the gates could be generated.
At the moment building locally inplace doesn't work unless you first run
dwave/gate/simulator/operation_generation.py
, this makes it so that the documentation is right andpython setup.py build_ext --inplace
should work. I don't think it's the most clean solution, but I couldn't get a solution with a custombuild_py
class as a commandpython setup.py generate_gates
to work because of thecythonize()
causing a build failure before the gates could be generated.