version 0.2.0

Summary: Update version number for version 0.2.0.

Reviewed By: nikhilaravi

Differential Revision: D21157358

fbshipit-source-id: 32a5b93e5dc65a31a806a5ce7231f8603fe02e85
This commit is contained in:
Jeremy Reizenstein
2020-04-26 07:17:04 -07:00
committed by Facebook GitHub Bot
parent 232e4a7e3d
commit 686c8666d3
3 changed files with 5 additions and 6 deletions

View File

@@ -3,6 +3,7 @@
import glob
import os
import runpy
import torch
from setuptools import find_packages, setup
@@ -67,10 +68,8 @@ def get_extensions():
return ext_modules
__version__ = ""
# Retrieve __version__ from the package.
with open("pytorch3d/__init__.py", "r") as init:
exec(init.read())
__version__ = runpy.run_path("pytorch3d/__init__.py")["__version__"]
if os.getenv("PYTORCH3D_NO_NINJA", "0") == "1":