-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
__init__.py
37 lines (26 loc) · 842 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by Radu-Marius Popovici
# Copyright © 2020 Radu-Marius Popovici
bl_info = {
"name" : "PowerNodes",
"author" : "Radu-Marius Popovici",
"description" : "Power Nodes",
"blender" : (2, 92, 0),
"version" : (0, 0, 1),
"location" : "Node Editor",
"warning" : "BETA version. Blender 2.92+ is required!",
"doc_url": "https://github.com/rpopovici/power-nodes",
"category" : "Node"
}
from . powernodes.utils.setup_utils import ensure_user_sitepackages, setup_numba, detect_cuda
# Ensure user site packages folder exists and add it to the path
ensure_user_sitepackages()
# activate CUDASIM if CUDA device is missing
detect_cuda()
# install numba if missing
setup_numba()
from . import auto_load
auto_load.init()
def register():
auto_load.register()
def unregister():
auto_load.unregister()