PyBullet: include the pre-trained policy files in data

This commit is contained in:
Erwin Coumans
2018-05-26 08:49:23 +10:00
parent efe9161670
commit 3d6c8f0fae

View File

@@ -438,7 +438,7 @@ hh = setup_py_dir + "/" + datadir
for root, dirs, files in os.walk(hh):
for fn in files:
ext = os.path.splitext(fn)[1][1:]
if ext and ext in 'png gif jpg urdf sdf obj mtl dae off stl STL xml '.split():
if ext and ext in 'yaml index meta data-00000-of-00001 png gif jpg urdf sdf obj mtl dae off stl STL xml '.split():
fn = root + "/" + fn
need_files.append(fn[1+len(hh):])