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

@ -82,10 +82,10 @@ copyright = "2019, facebookresearch"
author = "facebookresearch" author = "facebookresearch"
# The short X.Y version # The short X.Y version
version = "0.1" version = "0.2.0"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = version + ".1" release = version
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View File

@ -1,3 +1,3 @@
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
__version__ = "0.1.1" __version__ = "0.2.0"

View File

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