Add .cmake files and fix LICENSE file path in make_sdist.sh.
Also make minor modifications to Python bindings code for GCC compatibility. Fixes #191. PiperOrigin-RevId: 435127640 Change-Id: I8bd3a35bbb2724a24341072ba8df3da4372f83d3
This commit is contained in:
@@ -47,11 +47,11 @@ python "${package_dir}"/mujoco/codegen/generate_function_traits.py > \
|
||||
export PYTHONPATH="${old_pythonpath}"
|
||||
|
||||
# Copy over the LICENSE file.
|
||||
cp "${package_dir}"/../../LICENSE .
|
||||
cp "${package_dir}"/../LICENSE .
|
||||
|
||||
# Copy over CMake scripts.
|
||||
mkdir cmake
|
||||
cp "${package_dir}"/../../cmake/*.cmake cmake
|
||||
cp "${package_dir}"/../cmake/*.cmake cmake
|
||||
|
||||
python setup.py sdist --formats=gztar
|
||||
tar -tf dist/mujoco-*.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user