diff --git a/LICENSE b/LICENSE index ba17b17..da88e74 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 vn-crypto +Copyright (c) 2015-present, VeighNa Global Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index c343a81..d91bb0a 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,9 @@ python setup.py install 以脚本方式启动(script/run.py): ``` -from vnpy.event import EventEngine -from vnpy.trader.engine import MainEngine -from vnpy.trader.ui import MainWindow, create_qapp +from vnpy_evo.event import EventEngine +from vnpy_evo.trader.engine import MainEngine +from vnpy_evo.trader.ui import MainWindow, create_qapp import vnpy_evo from vnpy_binance import ( diff --git a/script/run.py b/script/run.py index 669eda5..a9aea41 100644 --- a/script/run.py +++ b/script/run.py @@ -1,6 +1,6 @@ -from vnpy.event import EventEngine -from vnpy.trader.engine import MainEngine -from vnpy.trader.ui import MainWindow, create_qapp +from vnpy_evo.event import EventEngine +from vnpy_evo.trader.engine import MainEngine +from vnpy_evo.trader.ui import MainWindow, create_qapp from vnpy_binance import ( BinanceSpotGateway, diff --git a/setup.cfg b/setup.cfg index d3db141..f096a9b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,31 +1,35 @@ [metadata] name = vnpy_binance -version = 2022.4.28 -url = https://www.vnpy.com -license = MIT -author = vn-crypto -author_email = vn.crypto@outlook.com -description = BINANCE gateway for vn.py quant trading framework. +version = attr: vnpy_binance.__version__ +author = VeighNa Global +author_email = veighna@hotmail.com +description = BINANCE trading gateway for VeighNa. long_description = file: README.md long_description_content_type = text/markdown +url = https://www.github.com/veighna-global +license = MIT keywords = quant quantitative investment trading algotrading + binance + btc + crypto classifiers = Development Status :: 5 - Production/Stable - Operating System :: OS Independent + Operating System :: Microsoft :: Windows + Operating System :: POSIX :: Linux + Operating System :: MacOS Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Office/Business :: Financial :: Investment Programming Language :: Python :: Implementation :: CPython License :: OSI Approved :: MIT License - Natural Language :: Chinese (Simplified) + Natural Language :: English [options] packages = find: diff --git a/vnpy_binance/__init__.py b/vnpy_binance/__init__.py index f6e654e..ba60e77 100644 --- a/vnpy_binance/__init__.py +++ b/vnpy_binance/__init__.py @@ -20,14 +20,9 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -import importlib_metadata - from .binance_spot_gateway import BinanceSpotGateway from .binance_linear_gateway import BinanceLinearGateway, BinanceUsdtGateway from .binance_inverse_gateway import BinanceInverseGateway -try: - __version__ = importlib_metadata.version("vnpy_binance") -except importlib_metadata.PackageNotFoundError: - __version__ = "dev" +__version__ = "2024.3.12"