File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
from pathlib import Path
2
2
3
+ from ._version import __version__ , version_info
3
4
from .utils .gui import run
4
5
from .graphics import *
5
6
from .graphics .selectors import *
6
7
from .legends import *
7
8
from .layouts import Figure
8
-
9
9
from .widgets import ImageWidget
10
10
from .utils import config
11
11
12
12
import wgpu
13
13
14
14
15
- with open (Path (__file__ ).parent .joinpath ("VERSION" ), "r" ) as f :
16
- __version__ = f .read ().split ("\n " )[0 ]
17
-
18
15
adapters = [a .summary for a in wgpu .gpu .enumerate_adapters ()]
19
16
20
17
if len (adapters ) < 1 :
Original file line number Diff line number Diff line change
1
+ __version__ = "0.1.0.a16"
2
+
3
+ version_info = tuple (
4
+ int (i ) if i .isnumeric () else i for i in __version__ .split ("+" )[0 ].split ("." )
5
+ )
You can’t perform that action at this time.
0 commit comments