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:
Jeremy Reizenstein
2022-05-25 06:16:03 -07:00
committed by Facebook GitHub Bot
parent f625fe1f8b
commit 34f648ede0
121 changed files with 231 additions and 239 deletions

View File

@@ -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: