mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-23 07:40:34 +08:00
move targets
Summary: Move testing targets from pytorch3d/tests/TARGETS to pytorch3d/TARGETS. Reviewed By: shapovalov Differential Revision: D36186940 fbshipit-source-id: a4c52c4d99351f885e2b0bf870532d530324039b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f625fe1f8b
commit
34f648ede0
@@ -38,7 +38,7 @@ def get_pytorch3d_dir() -> Path:
|
||||
Meta internal systems need a special case here.
|
||||
"""
|
||||
if os.environ.get("INSIDE_RE_WORKER") is not None:
|
||||
return Path(__file__).resolve().parent
|
||||
return Path(__file__).resolve().parent.parent
|
||||
elif os.environ.get("CONDA_BUILD_STATE", "") == "TEST":
|
||||
return Path(os.environ["SRC_DIR"])
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user