Skip to content

Commit

Permalink
version 0.2.0
Browse files Browse the repository at this point in the history
Summary: Update version number for version 0.2.0.

Reviewed By: nikhilaravi

Differential Revision: D21157358

fbshipit-source-id: 32a5b93e5dc65a31a806a5ce7231f8603fe02e85
  • Loading branch information
bottler authored and facebook-github-bot committed Apr 26, 2020
1 parent 232e4a7 commit 686c866
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def run_role(self, name, options=None, content=None):
author = "facebookresearch"

# The short X.Y version
version = "0.1"
version = "0.2.0"

# The full version, including alpha/beta/rc tags
release = version + ".1"
release = version

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pytorch3d/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.

__version__ = "0.1.1"
__version__ = "0.2.0"
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import glob
import os
import runpy

import torch
from setuptools import find_packages, setup
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit 686c866

Please sign in to comment.