File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5
5
</p >
6
6
7
7
<p align =" center " >
8
- <img src ="https://img.shields.io/badge/version-1.0.1 -blueviolet.svg"/>
8
+ <img src ="https://img.shields.io/badge/version-1.0.2 -blueviolet.svg"/>
9
9
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
10
10
<img src ="https://img.shields.io/badge/python-3.7-blue.svg" />
11
11
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = vnpy_datamanager
3
- version = 1.0.1
3
+ version = 1.0.2
4
4
url = https://www.vnpy.com
5
5
license = MIT
6
6
author = Xiaoyou Chen
Original file line number Diff line number Diff line change 22
22
23
23
from pathlib import Path
24
24
25
+ import importlib_metadata
25
26
from vnpy .trader .app import BaseApp
26
27
27
28
from .engine import APP_NAME , ManagerEngine
28
29
29
30
31
+ try :
32
+ __version__ = importlib_metadata .version ("vnpy_datamanager" )
33
+ except importlib_metadata .PackageNotFoundError :
34
+ __version__ = "dev"
35
+
36
+
30
37
class DataManagerApp (BaseApp ):
31
38
""""""
32
39
You can’t perform that action at this time.
0 commit comments