Skip to content

Commit

Permalink
print environ
Browse files Browse the repository at this point in the history
  • Loading branch information
bottler committed Oct 22, 2024
1 parent a35e67d commit 30dfbe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/build_conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ def do_build(start_args: List[str]):
args.extend(["--python", os.environ["PYTHON_VERSION"]])
args.append("packaging/pytorch3d")
print(args)
from pprint import pprint

pprint(dict(os.environ))
subprocess.check_call(args)


Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import runpy
import sys
import warnings
from pprint import pprint
from typing import List, Optional

pprint(dict(os.environ))
import torch
from setuptools import find_packages, setup
from torch.utils.cpp_extension import CppExtension, CUDA_HOME, CUDAExtension
Expand Down

0 comments on commit 30dfbe3

Please sign in to comment.