-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support python 3.7 * Add dependency
- Loading branch information
Showing
5 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
""" | ||
Copyright (c) 2022 Ruilong Li, UC Berkeley. | ||
""" | ||
from importlib.metadata import version | ||
try: | ||
from importlib.metadata import version | ||
except ImportError: | ||
# Running on pre-3.8 Python; use importlib-metadata package | ||
from importlib_metadata import version | ||
|
||
__version__ = version("nerfacc") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,9 @@ description = "A General NeRF Acceleration Toolbox." | |
readme = "README.md" | ||
authors = [{name = "Ruilong", email = "[email protected]"}] | ||
license = { text="MIT" } | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.7" | ||
dependencies = [ | ||
"importlib_metadata>=5.0.0; python_version<'3.8'", | ||
"ninja>=1.10.2.3", | ||
"pybind11>=2.10.0", | ||
"torch>=1.12.0", | ||
|