Skip to content

Commit dd8e21f

Browse files
fix setup and installation instruction for myoskeleton
1 parent 2d2469d commit dd8e21f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ python -m myosuite.utils.examine_env --env_name myoElbowPose1D6MRandom-v0
5757
mjpython -m myosuite.utils.examine_env --env_name myoElbowPose1D6MRandom-v0
5858
```
5959

60-
It is possible to take advantage of the latest MyoSkeleton. Once added (follow the instructions prompted by `python myosuite_init.py`), run:
60+
It is possible to take advantage of the latest MyoSkeleton. Once added (follow the instructions prompted by `python -m myosuite_init`), run:
6161
``` bash
6262
python myosuite/utils/examine_sim.py -s myosuite/simhive/myo_model/myoskeleton/myoskeleton.xml
6363
```

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import os
2-
import sys
32
import re
4-
from setuptools import setup, find_packages
3+
import sys
4+
5+
from setuptools import find_packages, setup
56

67
if sys.version_info.major != 3:
78
print("This Python is only compatible with Python 3, but you are running "
@@ -52,7 +53,7 @@ def package_files(directory):
5253
"Topic :: Scientific/Engineering :: Artificial Intelligence ",
5354
"Operating System :: OS Independent",
5455
],
55-
package_data={'': mjc_models_files},
56+
package_data={'': mjc_models_files+['../myosuite_init.py']},
5657
packages=find_packages(exclude=("myosuite.agents")),
5758
python_requires=">=3.8",
5859
install_requires=fetch_requirements(),

0 commit comments

Comments
 (0)