mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
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:
parent
232e4a7e3d
commit
686c8666d3
@ -82,10 +82,10 @@ copyright = "2019, facebookresearch"
|
||||
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 ---------------------------------------------------
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
||||
__version__ = "0.1.1"
|
||||
__version__ = "0.2.0"
|
||||
|
5
setup.py
5
setup.py
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user