Skip to content

Commit ffb3da9

Browse files
committed
fix packages
1 parent e4108a0 commit ffb3da9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.idea/misc.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hive/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .log import logger
22
from .main import Hive
33
from .task import Task, LoopTask, OnceTask
4-
4+
from .cmd import run_command
55

66
CODE_MAP = {
77
"SC": {"code": "sc", "exchange": "INE"},
@@ -74,4 +74,4 @@
7474
"TF": {"code": "TF", "exchange": "CFFEX"},
7575
"TS": {"code": "TS", "exchange": "CFFEX"},
7676
"IC": {"code": "IC", "exchange": "CFFEX"},
77-
}
77+
}

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup
22

3-
pkgs = []
3+
pkgs = ["hive", "hive.src"]
44

55
install_requires = ["ctpbee", "redis", "click", "pandas"]
66
setup(
@@ -28,5 +28,5 @@
2828
"Programming Language :: Python :: 3.9",
2929
"Programming Language :: Python :: 3.10",
3030
],
31-
entry_points={"console_scripts": ["hive = hive.cmd:run_command"]},
31+
entry_points={"console_scripts": ["hive = hive:run_command"]},
3232
)

0 commit comments

Comments
 (0)