PyBullet: include the pre-trained policy files in data
This commit is contained in:
2
setup.py
2
setup.py
@@ -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):])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user