xtquant-share 1.2.4__tar.gz → 1.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/PKG-INFO +1 -1
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/pyproject.toml +2 -4
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/server.py +7 -1
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/PKG-INFO +1 -1
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/entry_points.txt +1 -3
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/LICENSE +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/README.md +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/setup.cfg +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_auth.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_client.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_client_permission.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_integration.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_server.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_server_permission.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_tools_common.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/__init__.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/auth.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/client.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/__init__.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/common.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/xtdata.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/xttrader.py +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/SOURCES.txt +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/dependency_links.txt +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/requires.txt +0 -0
- {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "xtquant-share"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.5"
|
|
8
8
|
description = "Xtreme Quant Share - eXtreme transparent sharing proxy for XtQuant on macOS/Linux"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "GPL-3.0-only"
|
|
@@ -52,12 +52,10 @@ dev = [
|
|
|
52
52
|
]
|
|
53
53
|
|
|
54
54
|
[project.scripts]
|
|
55
|
+
xqshare-server = "xqshare.server:main"
|
|
55
56
|
xtdata = "xqshare.tools.xtdata:main"
|
|
56
57
|
xttrader = "xqshare.tools.xttrader:main"
|
|
57
58
|
|
|
58
|
-
[project.gui-scripts]
|
|
59
|
-
xqshare-server = "xqshare.server:main"
|
|
60
|
-
|
|
61
59
|
[project.urls]
|
|
62
60
|
Homepage = "https://gitee.com/jdragonhu/xqshare"
|
|
63
61
|
Documentation = "https://gitee.com/jdragonhu/xqshare#readme"
|
|
@@ -908,7 +908,13 @@ def _cmd_background(args):
|
|
|
908
908
|
log_file = _get_log_file()
|
|
909
909
|
|
|
910
910
|
# 构建启动命令(透传所有参数)
|
|
911
|
-
|
|
911
|
+
# Windows 上后台子进程用 pythonw.exe,避免弹出控制台窗口
|
|
912
|
+
if sys.platform == "win32":
|
|
913
|
+
pythonw = os.path.join(os.path.dirname(sys.executable), "pythonw.exe")
|
|
914
|
+
bg_executable = pythonw if os.path.exists(pythonw) else sys.executable
|
|
915
|
+
else:
|
|
916
|
+
bg_executable = sys.executable
|
|
917
|
+
cmd = [bg_executable, "-m", "xqshare.server", "fg"]
|
|
912
918
|
if args.host != "0.0.0.0":
|
|
913
919
|
cmd += ["--host", args.host]
|
|
914
920
|
if args.port:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|