Skip to content

Commit 686c866

Browse files
bottlerfacebook-github-bot
authored andcommitted
version 0.2.0
Summary: Update version number for version 0.2.0. Reviewed By: nikhilaravi Differential Revision: D21157358 fbshipit-source-id: 32a5b93e5dc65a31a806a5ce7231f8603fe02e85
1 parent 232e4a7 commit 686c866

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ def run_role(self, name, options=None, content=None):
8282
author = "facebookresearch"
8383

8484
# The short X.Y version
85-
version = "0.1"
85+
version = "0.2.0"
8686

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

9090
# -- General configuration ---------------------------------------------------
9191

pytorch3d/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
22

3-
__version__ = "0.1.1"
3+
__version__ = "0.2.0"

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import glob
55
import os
6+
import runpy
67

78
import torch
89
from setuptools import find_packages, setup
@@ -67,10 +68,8 @@ def get_extensions():
6768
return ext_modules
6869

6970

70-
__version__ = ""
7171
# Retrieve __version__ from the package.
72-
with open("pytorch3d/__init__.py", "r") as init:
73-
exec(init.read())
72+
__version__ = runpy.run_path("pytorch3d/__init__.py")["__version__"]
7473

7574

7675
if os.getenv("PYTORCH3D_NO_NINJA", "0") == "1":

0 commit comments

Comments
 (0)