conda-forge / mujoco-feedstock

A conda-smithy repository for mujoco.
BSD 3-Clause "New" or "Revised" License
1 stars 4 forks source link

Sometimes conda packages are run in a context in which CONDA_PREFIX is not set #49

Open traversaro opened 3 months ago

traversaro commented 3 months ago

Solution to issue cannot be found in the documentation.

Issue

See https://github.com/readthedocs/readthedocs.org/issues/4067 and https://github.com/ami-iit/jaxsim/pull/124#issuecomment-2034213110 .

Installed packages

.

Environment info

.
traversaro commented 3 months ago

A possible fix it to re-write https://github.com/conda-forge/mujoco-feedstock/blob/6b13f530b600bad63440a74da8b7b23beb18b73a/recipe/disable_copy_cxx_files_in_python_package.patch#L38 to actually encode the relative path between the python files and the C++ headers and plugin, it should not be too difficult.