Move introspect to python/introspect
PiperOrigin-RevId: 728695024 Change-Id: I96433e1e9ee509704d66bd4c1be1906732e4cc55
This commit is contained in:
committed by
Copybara-Service
parent
6a86247810
commit
b0e9d08673
@@ -36,9 +36,9 @@ cp -r "${package_dir}"/* .
|
||||
# Generate header files.
|
||||
old_pythonpath="${PYTHONPATH}"
|
||||
if [[ "$(uname)" == CYGWIN* || "$(uname)" == MINGW* ]]; then
|
||||
export PYTHONPATH="${old_pythonpath};${package_dir}/.."
|
||||
export PYTHONPATH="${old_pythonpath};${package_dir}/mujoco/python/.."
|
||||
else
|
||||
export PYTHONPATH="${old_pythonpath}:${package_dir}/.."
|
||||
export PYTHONPATH="${old_pythonpath}:${package_dir}/mujoco/python/.."
|
||||
fi
|
||||
python "${package_dir}"/mujoco/codegen/generate_enum_traits.py > \
|
||||
mujoco/enum_traits.h
|
||||
|
||||
Reference in New Issue
Block a user