Closed greschd closed 2 years ago
This is caused by .proto
files being present in the build
directory. By default, the target directory is at the top-level, which means there are duplicate definitions.
This is probably best addressed at the level of the API template, by switching to src/
layout.
Trying to install a project using
ansys-tools-protoc-helper
by callingpip install
from outside the project directory doesn't work.Example calls:
Not working:
pip install ../../<project_name>
Working:
cd ../../<project_name>; pip install .
Note: I need to spend a bit more time to properly reproduce this, could also be due to temporary files still left in the project directory.