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.
Files changed (26) hide show
  1. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/PKG-INFO +1 -1
  2. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/pyproject.toml +2 -4
  3. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/server.py +7 -1
  4. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/PKG-INFO +1 -1
  5. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/entry_points.txt +1 -3
  6. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/LICENSE +0 -0
  7. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/README.md +0 -0
  8. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/setup.cfg +0 -0
  9. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_auth.py +0 -0
  10. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_client.py +0 -0
  11. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_client_permission.py +0 -0
  12. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_integration.py +0 -0
  13. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_server.py +0 -0
  14. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_server_permission.py +0 -0
  15. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/tests/test_tools_common.py +0 -0
  16. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/__init__.py +0 -0
  17. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/auth.py +0 -0
  18. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/client.py +0 -0
  19. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/__init__.py +0 -0
  20. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/common.py +0 -0
  21. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/xtdata.py +0 -0
  22. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xqshare/tools/xttrader.py +0 -0
  23. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/SOURCES.txt +0 -0
  24. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/dependency_links.txt +0 -0
  25. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/requires.txt +0 -0
  26. {xtquant_share-1.2.4 → xtquant_share-1.2.5}/xtquant_share.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xtquant-share
3
- Version: 1.2.4
3
+ Version: 1.2.5
4
4
  Summary: Xtreme Quant Share - eXtreme transparent sharing proxy for XtQuant on macOS/Linux
5
5
  Author-email: Jason Hu <63170682@qq.com>
6
6
  License-Expression: GPL-3.0-only
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "xtquant-share"
7
- version = "1.2.4"
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
- cmd = [sys.executable, "-m", "xqshare.server", "start"]
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xtquant-share
3
- Version: 1.2.4
3
+ Version: 1.2.5
4
4
  Summary: Xtreme Quant Share - eXtreme transparent sharing proxy for XtQuant on macOS/Linux
5
5
  Author-email: Jason Hu <63170682@qq.com>
6
6
  License-Expression: GPL-3.0-only
@@ -1,6 +1,4 @@
1
1
  [console_scripts]
2
+ xqshare-server = xqshare.server:main
2
3
  xtdata = xqshare.tools.xtdata:main
3
4
  xttrader = xqshare.tools.xttrader:main
4
-
5
- [gui_scripts]
6
- xqshare-server = xqshare.server:main
File without changes
File without changes
File without changes