hatch-xclam 0.7.0.dev12__py3-none-any.whl → 0.7.0.dev13__py3-none-any.whl

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 (66) hide show
  1. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/METADATA +38 -32
  2. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/RECORD +6 -65
  3. hatch_xclam-0.7.0.dev13.dist-info/top_level.txt +2 -0
  4. hatch_xclam-0.7.0.dev12.dist-info/top_level.txt +0 -3
  5. node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  6. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  7. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  8. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  9. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  10. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  11. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  12. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  13. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  14. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  15. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -709
  16. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  17. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  18. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  19. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  20. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  21. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  22. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  23. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  24. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  25. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  26. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  27. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  28. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  29. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  30. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  31. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  32. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  33. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  34. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  35. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  36. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  37. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  38. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  39. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  40. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  41. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  42. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  43. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  44. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  45. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  46. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  47. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  48. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  49. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  50. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  51. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  52. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  53. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  54. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  55. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  56. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  57. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  58. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  59. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  60. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  61. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  62. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  63. node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  64. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/WHEEL +0 -0
  65. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/entry_points.txt +0 -0
  66. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hatch-xclam
3
- Version: 0.7.0.dev12
3
+ Version: 0.7.0.dev13
4
4
  Summary: Package manager for the Cracking Shells ecosystem
5
5
  Author: Cracking Shells Team
6
6
  Project-URL: Homepage, https://github.com/CrackingShells/Hatch
@@ -26,13 +26,34 @@ Dynamic: license-file
26
26
 
27
27
  # Hatch
28
28
 
29
- ![Hatch Logo](./docs/resources/images/Logo/hatch_wide_dark_bg_transparent.png)
29
+ ![Hatch Logo](https://raw.githubusercontent.com/CrackingShells/Hatch/refs/heads/main/docs/resources/images/Logo/hatch_wide_dark_bg_transparent.png)
30
30
 
31
- Hatch is the package manager for the Cracking Shells ecosystem, designed specifically for managing Model Context Protocol (MCP) servers. It handles complex dependency resolution across system packages, Python packages, Docker containers, and other Hatch packages — all in isolated environments.
31
+ ## Introduction
32
+
33
+ Hatch is the package manager for managing Model Context Protocol (MCP) servers with environment isolation, multi-type dependency resolution, and multi-host deployment. Deploy MCP servers to Claude Desktop, VS Code, Cursor, and other platforms with automatic dependency management.
32
34
 
33
35
  The canonical documentation is at `docs/index.md` and published at <https://hatch.readthedocs.io/en/latest/>.
34
36
 
35
- ## Quick start
37
+ ## Key Features
38
+
39
+ - **Environment Isolation** — Create separate, isolated workspaces for different projects without conflicts
40
+ - **Multi-Type Dependency Resolution** — Automatically resolve and install system packages, Python packages, Docker containers, and Hatch packages
41
+ - **Multi-Host Deployment** — Deploy MCP servers to Claude Desktop, Claude Code, VS Code, Cursor, LM Studio, and Google Gemini CLI
42
+ - **Package Validation** — Ensure packages meet schema requirements before distribution
43
+ - **Development-Focused** — Optimized for rapid development and testing of MCP server ecosystems
44
+
45
+ ## Supported MCP Hosts
46
+
47
+ Hatch supports deployment to the following MCP host platforms:
48
+
49
+ - **Claude Desktop** — Anthropic's desktop application for Claude with native MCP support
50
+ - **Claude Code** — Claude integration for VS Code with MCP capabilities
51
+ - **VS Code** — Visual Studio Code with the MCP extension for tool integration
52
+ - **Cursor** — AI-first code editor with built-in MCP server support
53
+ - **LM Studio** — Local LLM inference platform with MCP server integration
54
+ - **Google Gemini CLI** — Command-line interface for Google's Gemini model with MCP support
55
+
56
+ ## Quick Start
36
57
 
37
58
  ### Install from PyPI
38
59
 
@@ -72,41 +93,26 @@ hatch validate ./my_mcp_server
72
93
 
73
94
  ### Deploy MCP servers to your tools
74
95
 
75
- Add a Hatch package and automatically configure it on Claude Desktop and Cursor:
96
+ **Package-First Deployment (Recommended)** — Add a Hatch package and automatically configure it on Claude Desktop and Cursor:
76
97
 
77
98
  ```bash
78
99
  hatch package add ./my_mcp_server --host claude-desktop,cursor
79
100
  ```
80
101
 
81
- Configure an arbitrary MCP server (non-Hatch package) on Claude Desktop:
102
+ **Direct Configuration (Advanced)** — Configure arbitrary MCP servers on your hosts:
82
103
 
83
104
  ```bash
84
- # Local server with command and arguments
85
- hatch mcp configure my-weather-server --host claude-desktop \
86
- --command python --args weather_server.py \
87
- --env-var API_KEY=your_key
88
-
89
- # Remote server with URL
90
- hatch mcp configure api-server --host gemini \
91
- --httpUrl https://api.example.com \
92
- --header Authorization="Bearer token"
105
+ # Remote server example: GitHub MCP Server with authentication
106
+ export GIT_PAT_TOKEN=your_github_personal_access_token
107
+ hatch mcp configure github-mcp --host gemini \
108
+ --httpUrl https://api.github.com/mcp \
109
+ --header Authorization="Bearer $GIT_PAT_TOKEN"
110
+
111
+ # Local server example: Context7 via npx
112
+ hatch mcp configure context7 --host vscode \
113
+ --command npx --args "-y @upstash/context7-mcp"
93
114
  ```
94
115
 
95
- List configured servers and hosts:
96
-
97
- ```bash
98
- hatch mcp list servers
99
- hatch mcp list hosts --detailed
100
- ```
101
-
102
- ## Key features
103
-
104
- - **Environment isolation**: Create separate workspaces for different projects
105
- - **Multi-type dependencies**: Automatically resolve and install system packages, Python packages, Docker containers, and Hatch packages
106
- - **MCP host configuration**: Deploy MCP servers to Claude Desktop, Cursor, VSCode, and other platforms
107
- - **Package validation**: Ensure packages meet schema requirements before distribution
108
- - **Development-focused**: Optimized for rapid development and testing of MCP server ecosystems
109
-
110
116
  ## Documentation
111
117
 
112
118
  - **[Full Documentation](https://hatch.readthedocs.io/en/latest/)** — Complete reference and guides
@@ -128,12 +134,12 @@ We welcome contributions! See the [How to Contribute](./docs/articles/devs/contr
128
134
  3. **Create a feature branch**: `git checkout -b feat/your-feature`
129
135
  4. **Make changes** and add tests
130
136
  5. **Use conventional commits**: `npm run commit` for guided commits
131
- 6. **Run tests**: `python -m pytest tests/`
137
+ 6. **Run tests**: `wobble`
132
138
  7. **Create a pull request**
133
139
 
134
140
  We use [Conventional Commits](https://www.conventionalcommits.org/) for automated versioning. Use `npm run commit` for guided commit messages.
135
141
 
136
- ## Getting help
142
+ ## Getting Help
137
143
 
138
144
  - Search existing [GitHub Issues](https://github.com/CrackingShells/Hatch/issues)
139
145
  - Read [Troubleshooting](./docs/articles/users/Troubleshooting/ReportIssues.md) for common problems
@@ -21,66 +21,7 @@ hatch/mcp_host_config/host_management.py,sha256=sXyGluFQpfXKggxAVvV9riGRis29JnoE
21
21
  hatch/mcp_host_config/models.py,sha256=WLAdeJc-t4zyiiHByQHYGpC55t6ViggBAs4N1ksJ6W8,24548
22
22
  hatch/mcp_host_config/reporting.py,sha256=Q8UKBJRfvJTbb5PM9xwLEOh3OJjf19AKpWKxs-2622k,6889
23
23
  hatch/mcp_host_config/strategies.py,sha256=deFdAbj8G6Mzs7W8fBlPMPnijxzSnQ2SS5AAx0JR6oY,20293
24
- hatch_xclam-0.7.0.dev12.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
25
- node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py,sha256=gOsKGUgjDIMvF7-Z8xqHKdVARNgEac_g_srOaeerZqY,1250
26
- node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py,sha256=7PWZav30J2V-o0h5VFmqEyxmhPpjUPH9xYBJQnhcF8k,7691
27
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py,sha256=mzNxGJv3xJz8NLNfPaj1V9Yv1BH38PktL9i7hYphDOo,13029
28
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py,sha256=6i0lB7o_XoITED062iStKzkGvjAa9dOR8i144Aax4Ls,6732
29
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py,sha256=nLWtz6P0eyRyYOBO_S-WGKgQ7xXWNUYX2ZcsyYVY1l0,45452
30
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py,sha256=02XqIF-1lTV0fAb0zoJPA7hSNVMjyfw7hAVEobLF8pA,74286
31
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py,sha256=iMp0oiweW12S02CpXXFurd9omUPEfxMuVcSlT_PtlOQ,1782
32
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py,sha256=1WnQrXCQWH4ohj4Y4bfLzZl2Pdy2UJ6gO1wF74wh4Fg,5325
33
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py,sha256=OkSDMtL1zZQE-epLNBUdrjgQCeDUNaTcwzl__xIL7c8,10230
34
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py,sha256=cRWt9bqH-3GffwLXUHyJiwRP2ink-4LwJl3iH1xc5J4,19744
35
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py,sha256=aRZB6y6u3NDYEJvWmpCZ7v37lkBegdKrJ4tncBZReA4,24562
36
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py,sha256=QGWO-e1zBGF1QFs4LbscBlpbrn7GZ9z9oZVpaQVYgAQ,24582
37
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py,sha256=-emUJeGyMl2bN687KNEyfdX0uDxWDslILAgD0H04wXM,5716
38
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py,sha256=GICY6cjlHnVJ_QkRBy3rljPTvy-Ykkgr2Vy-4Ti0KHs,5425
39
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py,sha256=3oc9BPr9cXuGo7erwwTCUNvcaR20Qwku-HqwdBgZ5Y8,3943
40
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py,sha256=NqP4clxE-6pVXVfDnDiW0XAoPhZMU_8-vlnLQ9s5PBo,1886
41
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py,sha256=Jyv6gTGKlz1f7Jbw1Ja8iLzG5k-veW8o0OLLbimIXXY,126396
42
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py,sha256=nCv7azVvSS-vF9Eui11qu_RVT2vPG-_Erj-oUmgazqs,3426
43
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py,sha256=hXtJTTBcn2oWevCHEOVRMLUobrZDOCfbn6CDOTRVABk,30123
44
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py,sha256=jzNVLumqNttq4byaADi1PdPJIWMYrqWuw9hthAsWfvk,54122
45
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py,sha256=zMHkB8l0O7oRkuYFoaN9dotnbATBHZgErQztwE_W648,5640
46
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py,sha256=2V-wVMJ9TQ94aAQ9Omph4w_4DFCm_UGmG_L4alylB80,1293
47
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py,sha256=XKY-2mqlBEfXsGjf6ozAboN64RYWPK7ytI4emK6-CDw,15131
48
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py,sha256=2Wl7sy6DHlC843kjRCrEb2ZwkYbrusiV5jV4AACMr_A,81981
49
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py,sha256=eEphiO1QEl5qdNcuW1e7ogdtDVaTxSN3ZUKlUwCRyrc,1489
50
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py,sha256=GP1JKt30Xf3g1PF3-F5VjCbCXTwhGDIkrJqkQPGSyw0,12125
51
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py,sha256=zCvgZdHSGCax46mFdZjUnGlQXZzrDsSeRQbepj0n0kE,135596
52
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py,sha256=-z0nf3UnZa7vNw0uwxYYhISHrN6eSHIEVsGjiEaAuBg,2245
53
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py,sha256=Xm-S8jZHwD8FpxKkSypH_7khjm1THgfGSkXgHKr32uI,31540
55
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py,sha256=kZWeETJ3fmFKhBzLoNDwhYOagI7BFwQ6pnVoSeAxbAs,49815
56
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py,sha256=A9J1FnkYf6StVzWU0Qn9ynonSDC0F-AJJdNmJL1-z1g,49203
57
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py,sha256=rnoSt5dZZlDWKFUZInaX5Yx2lVJRl4vb790Zt_Ax59g,4849
58
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py,sha256=GEzwTkRQ8dQJfo_AzFeSKyP-uVBbfd1PBKXjgFc23vs,3102
59
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py,sha256=v3MaKUMkGRam8aDZKtF-Et8UmTpEwfbWXlW9IRlYuvM,17502
60
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py,sha256=wVdr3hEBg-mBbJ5ciQb6KlpTmXTbFNJmGrsI4GnNMhw,3505
61
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py,sha256=0GIUNSBx_z3M5gI8QnW6SPz08TyhgqunM9FtCs9A4LM,1693
62
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py,sha256=5FVgKqu4lkuTDcRwY_Y3ZMh7MbQTp4BL-YVvVcOm8QI,111590
63
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py,sha256=gvDPjImXGMPT80l4aQs18MUuv8-zCW-rPyEYEhtn8nw,150686
64
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py,sha256=GXwx0VN6YW9UEknU48egK8975dePLagBeEJoEpEtvFU,1263
65
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py,sha256=0vT2fWyk8vQ4kTXeHUaA4zhxhVoqA1Y-FAdASltrJTY,119547
66
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py,sha256=Iwe3AvH0ZDjGXhJoNCAIkJprR5mQb9uTfIu0UwbQn0U,2416
67
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py,sha256=wCOq2RCCIG72DYcDZVz0ChSRQw3tItvWSnGAkVn8DPw,66017
68
- node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py,sha256=PmjE1ka3d8g44YYw16_f1eDJR9wsfYIBCniDp2gm-wY,669
69
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py,sha256=KgBCfHz9vghN9DtyaCUxyewfe5VrjVDtiatA1m6Ch7Q,501
70
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py,sha256=hbmK8OD6Z7fY6hwinHEUcD1by7czkGiNYu7ShnFEk2k,3266
71
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py,sha256=Rq6ppXAxH8XFtNf6tC-B-1SKuvCODPBvcCoSulMtbtk,9526
72
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py,sha256=kgmBGLFybpy8609-KTvzmt2zChCPWYvhp5BWP4JX7dE,2676
73
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py,sha256=5DhK_zYJE4U4yzSkgEBT4F7tT2xZ6Pkx4gSRKyvXneQ,10382
74
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
75
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py,sha256=alCtbwXhOFAmFGZ6BQ-wCTSFoRAJ2z-ysIf7__MTJ_k,5292
76
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py,sha256=eH-txS2zq1HdNpTd9LcZUcVIwewAiNU0grmq5wjKnOk,8208
77
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py,sha256=BX-cG2W29bcNHLKK9M8N62HBnTGfEXepszVl0rhF-HM,33030
78
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
79
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py,sha256=wswG4mXHSgE9w4NjNnlSvgLGo6yYvfHVEFnWhuEmXxg,2952
80
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py,sha256=fmOSyM6_1KuFHLXQsRfIg6KiqAa5NyRPeXuxyooPL5A,39969
81
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py,sha256=pkG6gQ28RlhS09VzymVhVpGrWF5doHXfK1VxG9cdhoY,18355
82
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py,sha256=XgdmP3yx9-wQEFjO7OvMj9RjEf5JlR5HFFR69v7SQ9E,5268
83
- node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py,sha256=XjRBLNK17UMDgLeP8UHnqwiY3TdSi03xFQURtec211A,16236
24
+ hatch_xclam-0.7.0.dev13.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
84
25
  tests/__init__.py,sha256=4I3aQWv143Y1QY_nRIBWnY9MIL-aoQOJuVlpoPQz24E,53
85
26
  tests/run_environment_tests.py,sha256=bWCr8UsPgU80SM8f_VSi0TCwDI6JNqZpvZ2W9-b2Lqk,7302
86
27
  tests/test_cli_version.py,sha256=lU8TBZfzn_8AenFNXYrLMARht91fI5twBN13L-iJebc,4778
@@ -145,8 +86,8 @@ tests/test_data/packages/schema_versions/schema_v1_1_0_pkg/main.py,sha256=_B5aqX
145
86
  tests/test_data/packages/schema_versions/schema_v1_2_0_pkg/main.py,sha256=rinhVySJpjXKd2sRCS0ps7xTrVqImWcZ8l4aYbidYR8,238
146
87
  tests/test_data/packages/schema_versions/schema_v1_2_1_pkg/hatch_mcp_server.py,sha256=FT14llzHlA4i8I__8GugzBRowhg_CbLmsOwjq0IWFsY,368
147
88
  tests/test_data/packages/schema_versions/schema_v1_2_1_pkg/mcp_server.py,sha256=BRPAyyAseE2CGR3W647SwjlluYfi7ejhZck0An5581I,467
148
- hatch_xclam-0.7.0.dev12.dist-info/METADATA,sha256=ve7xm5bDxv39eMA-VmKhL6ie4wWzwMgmAmdUg-qepaw,5120
149
- hatch_xclam-0.7.0.dev12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
150
- hatch_xclam-0.7.0.dev12.dist-info/entry_points.txt,sha256=6xbkwFUtr7nRa56vUFMyJk2wjwFQ_XVaU53ruecWKI0,47
151
- hatch_xclam-0.7.0.dev12.dist-info/top_level.txt,sha256=1filTSzkOKvsGvPyo2JJiM8OAHLzqNIjRkz8KxnnKjg,25
152
- hatch_xclam-0.7.0.dev12.dist-info/RECORD,,
89
+ hatch_xclam-0.7.0.dev13.dist-info/METADATA,sha256=kPUoyD_oOKbFW6zIP8iepiZ217Tk9LG13Vv3pgnt0Vw,5849
90
+ hatch_xclam-0.7.0.dev13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
91
+ hatch_xclam-0.7.0.dev13.dist-info/entry_points.txt,sha256=6xbkwFUtr7nRa56vUFMyJk2wjwFQ_XVaU53ruecWKI0,47
92
+ hatch_xclam-0.7.0.dev13.dist-info/top_level.txt,sha256=GZP3Ivciwal8jVITQkQr7dSNlLJRzfNOhA76VN7Jp4Y,12
93
+ hatch_xclam-0.7.0.dev13.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ hatch
2
+ tests
@@ -1,3 +0,0 @@
1
- hatch
2
- node_modules
3
- tests
@@ -1,45 +0,0 @@
1
- #!/usr/bin/env python3
2
-
3
- # Copyright (c) 2009 Google Inc. All rights reserved.
4
- # Use of this source code is governed by a BSD-style license that can be
5
- # found in the LICENSE file.
6
-
7
- import os
8
- import subprocess
9
- import sys
10
-
11
-
12
- def IsCygwin():
13
- # Function copied from pylib/gyp/common.py
14
- try:
15
- out = subprocess.Popen(
16
- "uname", stdout=subprocess.PIPE, stderr=subprocess.STDOUT
17
- )
18
- stdout, _ = out.communicate()
19
- return "CYGWIN" in stdout.decode("utf-8")
20
- except Exception:
21
- return False
22
-
23
-
24
- def UnixifyPath(path):
25
- try:
26
- if not IsCygwin():
27
- return path
28
- out = subprocess.Popen(
29
- ["cygpath", "-u", path], stdout=subprocess.PIPE, stderr=subprocess.STDOUT
30
- )
31
- stdout, _ = out.communicate()
32
- return stdout.decode("utf-8")
33
- except Exception:
34
- return path
35
-
36
-
37
- # Make sure we're using the version of pylib in this repo, not one installed
38
- # elsewhere on the system. Also convert to Unix style path on Cygwin systems,
39
- # else the 'gyp' library will not be found
40
- path = UnixifyPath(sys.argv[0])
41
- sys.path.insert(0, os.path.join(os.path.dirname(path), "pylib"))
42
- import gyp # noqa: E402
43
-
44
- if __name__ == "__main__":
45
- sys.exit(gyp.script_main())
@@ -1,365 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """New implementation of Visual Studio project generation."""
6
-
7
- import hashlib
8
- import os
9
- import random
10
- from operator import attrgetter
11
-
12
- import gyp.common
13
-
14
-
15
- def cmp(x, y):
16
- return (x > y) - (x < y)
17
-
18
-
19
- # Initialize random number generator
20
- random.seed()
21
-
22
- # GUIDs for project types
23
- ENTRY_TYPE_GUIDS = {
24
- "project": "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}",
25
- "folder": "{2150E333-8FDC-42A3-9474-1A3956D46DE8}",
26
- }
27
-
28
- # ------------------------------------------------------------------------------
29
- # Helper functions
30
-
31
-
32
- def MakeGuid(name, seed="msvs_new"):
33
- """Returns a GUID for the specified target name.
34
-
35
- Args:
36
- name: Target name.
37
- seed: Seed for MD5 hash.
38
- Returns:
39
- A GUID-line string calculated from the name and seed.
40
-
41
- This generates something which looks like a GUID, but depends only on the
42
- name and seed. This means the same name/seed will always generate the same
43
- GUID, so that projects and solutions which refer to each other can explicitly
44
- determine the GUID to refer to explicitly. It also means that the GUID will
45
- not change when the project for a target is rebuilt.
46
- """
47
- # Calculate a MD5 signature for the seed and name.
48
- d = hashlib.md5((str(seed) + str(name)).encode("utf-8")).hexdigest().upper()
49
- # Convert most of the signature to GUID form (discard the rest)
50
- guid = (
51
- "{"
52
- + d[:8]
53
- + "-"
54
- + d[8:12]
55
- + "-"
56
- + d[12:16]
57
- + "-"
58
- + d[16:20]
59
- + "-"
60
- + d[20:32]
61
- + "}"
62
- )
63
- return guid
64
-
65
-
66
- # ------------------------------------------------------------------------------
67
-
68
-
69
- class MSVSSolutionEntry:
70
- def __cmp__(self, other):
71
- # Sort by name then guid (so things are in order on vs2008).
72
- return cmp((self.name, self.get_guid()), (other.name, other.get_guid()))
73
-
74
-
75
- class MSVSFolder(MSVSSolutionEntry):
76
- """Folder in a Visual Studio project or solution."""
77
-
78
- def __init__(self, path, name=None, entries=None, guid=None, items=None):
79
- """Initializes the folder.
80
-
81
- Args:
82
- path: Full path to the folder.
83
- name: Name of the folder.
84
- entries: List of folder entries to nest inside this folder. May contain
85
- Folder or Project objects. May be None, if the folder is empty.
86
- guid: GUID to use for folder, if not None.
87
- items: List of solution items to include in the folder project. May be
88
- None, if the folder does not directly contain items.
89
- """
90
- if name:
91
- self.name = name
92
- else:
93
- # Use last layer.
94
- self.name = os.path.basename(path)
95
-
96
- self.path = path
97
- self.guid = guid
98
-
99
- # Copy passed lists (or set to empty lists)
100
- self.entries = sorted(entries or [], key=attrgetter("path"))
101
- self.items = list(items or [])
102
-
103
- self.entry_type_guid = ENTRY_TYPE_GUIDS["folder"]
104
-
105
- def get_guid(self):
106
- if self.guid is None:
107
- # Use consistent guids for folders (so things don't regenerate).
108
- self.guid = MakeGuid(self.path, seed="msvs_folder")
109
- return self.guid
110
-
111
-
112
- # ------------------------------------------------------------------------------
113
-
114
-
115
- class MSVSProject(MSVSSolutionEntry):
116
- """Visual Studio project."""
117
-
118
- def __init__(
119
- self,
120
- path,
121
- name=None,
122
- dependencies=None,
123
- guid=None,
124
- spec=None,
125
- build_file=None,
126
- config_platform_overrides=None,
127
- fixpath_prefix=None,
128
- ):
129
- """Initializes the project.
130
-
131
- Args:
132
- path: Absolute path to the project file.
133
- name: Name of project. If None, the name will be the same as the base
134
- name of the project file.
135
- dependencies: List of other Project objects this project is dependent
136
- upon, if not None.
137
- guid: GUID to use for project, if not None.
138
- spec: Dictionary specifying how to build this project.
139
- build_file: Filename of the .gyp file that the vcproj file comes from.
140
- config_platform_overrides: optional dict of configuration platforms to
141
- used in place of the default for this target.
142
- fixpath_prefix: the path used to adjust the behavior of _fixpath
143
- """
144
- self.path = path
145
- self.guid = guid
146
- self.spec = spec
147
- self.build_file = build_file
148
- # Use project filename if name not specified
149
- self.name = name or os.path.splitext(os.path.basename(path))[0]
150
-
151
- # Copy passed lists (or set to empty lists)
152
- self.dependencies = list(dependencies or [])
153
-
154
- self.entry_type_guid = ENTRY_TYPE_GUIDS["project"]
155
-
156
- if config_platform_overrides:
157
- self.config_platform_overrides = config_platform_overrides
158
- else:
159
- self.config_platform_overrides = {}
160
- self.fixpath_prefix = fixpath_prefix
161
- self.msbuild_toolset = None
162
-
163
- def set_dependencies(self, dependencies):
164
- self.dependencies = list(dependencies or [])
165
-
166
- def get_guid(self):
167
- if self.guid is None:
168
- # Set GUID from path
169
- # TODO(rspangler): This is fragile.
170
- # 1. We can't just use the project filename sans path, since there could
171
- # be multiple projects with the same base name (for example,
172
- # foo/unittest.vcproj and bar/unittest.vcproj).
173
- # 2. The path needs to be relative to $SOURCE_ROOT, so that the project
174
- # GUID is the same whether it's included from base/base.sln or
175
- # foo/bar/baz/baz.sln.
176
- # 3. The GUID needs to be the same each time this builder is invoked, so
177
- # that we don't need to rebuild the solution when the project changes.
178
- # 4. We should be able to handle pre-built project files by reading the
179
- # GUID from the files.
180
- self.guid = MakeGuid(self.name)
181
- return self.guid
182
-
183
- def set_msbuild_toolset(self, msbuild_toolset):
184
- self.msbuild_toolset = msbuild_toolset
185
-
186
-
187
- # ------------------------------------------------------------------------------
188
-
189
-
190
- class MSVSSolution:
191
- """Visual Studio solution."""
192
-
193
- def __init__(
194
- self, path, version, entries=None, variants=None, websiteProperties=True
195
- ):
196
- """Initializes the solution.
197
-
198
- Args:
199
- path: Path to solution file.
200
- version: Format version to emit.
201
- entries: List of entries in solution. May contain Folder or Project
202
- objects. May be None, if the folder is empty.
203
- variants: List of build variant strings. If none, a default list will
204
- be used.
205
- websiteProperties: Flag to decide if the website properties section
206
- is generated.
207
- """
208
- self.path = path
209
- self.websiteProperties = websiteProperties
210
- self.version = version
211
-
212
- # Copy passed lists (or set to empty lists)
213
- self.entries = list(entries or [])
214
-
215
- if variants:
216
- # Copy passed list
217
- self.variants = variants[:]
218
- else:
219
- # Use default
220
- self.variants = ["Debug|Win32", "Release|Win32"]
221
- # TODO(rspangler): Need to be able to handle a mapping of solution config
222
- # to project config. Should we be able to handle variants being a dict,
223
- # or add a separate variant_map variable? If it's a dict, we can't
224
- # guarantee the order of variants since dict keys aren't ordered.
225
-
226
- # TODO(rspangler): Automatically write to disk for now; should delay until
227
- # node-evaluation time.
228
- self.Write()
229
-
230
- def Write(self, writer=gyp.common.WriteOnDiff):
231
- """Writes the solution file to disk.
232
-
233
- Raises:
234
- IndexError: An entry appears multiple times.
235
- """
236
- # Walk the entry tree and collect all the folders and projects.
237
- all_entries = set()
238
- entries_to_check = self.entries[:]
239
- while entries_to_check:
240
- e = entries_to_check.pop(0)
241
-
242
- # If this entry has been visited, nothing to do.
243
- if e in all_entries:
244
- continue
245
-
246
- all_entries.add(e)
247
-
248
- # If this is a folder, check its entries too.
249
- if isinstance(e, MSVSFolder):
250
- entries_to_check += e.entries
251
-
252
- all_entries = sorted(all_entries, key=attrgetter("path"))
253
-
254
- # Open file and print header
255
- f = writer(self.path)
256
- f.write(
257
- "Microsoft Visual Studio Solution File, "
258
- "Format Version %s\r\n" % self.version.SolutionVersion()
259
- )
260
- f.write("# %s\r\n" % self.version.Description())
261
-
262
- # Project entries
263
- sln_root = os.path.split(self.path)[0]
264
- for e in all_entries:
265
- relative_path = gyp.common.RelativePath(e.path, sln_root)
266
- # msbuild does not accept an empty folder_name.
267
- # use '.' in case relative_path is empty.
268
- folder_name = relative_path.replace("/", "\\") or "."
269
- f.write(
270
- 'Project("%s") = "%s", "%s", "%s"\r\n'
271
- % (
272
- e.entry_type_guid, # Entry type GUID
273
- e.name, # Folder name
274
- folder_name, # Folder name (again)
275
- e.get_guid(), # Entry GUID
276
- )
277
- )
278
-
279
- # TODO(rspangler): Need a way to configure this stuff
280
- if self.websiteProperties:
281
- f.write(
282
- "\tProjectSection(WebsiteProperties) = preProject\r\n"
283
- '\t\tDebug.AspNetCompiler.Debug = "True"\r\n'
284
- '\t\tRelease.AspNetCompiler.Debug = "False"\r\n'
285
- "\tEndProjectSection\r\n"
286
- )
287
-
288
- if isinstance(e, MSVSFolder) and e.items:
289
- f.write("\tProjectSection(SolutionItems) = preProject\r\n")
290
- for i in e.items:
291
- f.write(f"\t\t{i} = {i}\r\n")
292
- f.write("\tEndProjectSection\r\n")
293
-
294
- if isinstance(e, MSVSProject) and e.dependencies:
295
- f.write("\tProjectSection(ProjectDependencies) = postProject\r\n")
296
- for d in e.dependencies:
297
- f.write(f"\t\t{d.get_guid()} = {d.get_guid()}\r\n")
298
- f.write("\tEndProjectSection\r\n")
299
-
300
- f.write("EndProject\r\n")
301
-
302
- # Global section
303
- f.write("Global\r\n")
304
-
305
- # Configurations (variants)
306
- f.write("\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\r\n")
307
- for v in self.variants:
308
- f.write(f"\t\t{v} = {v}\r\n")
309
- f.write("\tEndGlobalSection\r\n")
310
-
311
- # Sort config guids for easier diffing of solution changes.
312
- config_guids = []
313
- config_guids_overrides = {}
314
- for e in all_entries:
315
- if isinstance(e, MSVSProject):
316
- config_guids.append(e.get_guid())
317
- config_guids_overrides[e.get_guid()] = e.config_platform_overrides
318
- config_guids.sort()
319
-
320
- f.write("\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\r\n")
321
- for g in config_guids:
322
- for v in self.variants:
323
- nv = config_guids_overrides[g].get(v, v)
324
- # Pick which project configuration to build for this solution
325
- # configuration.
326
- f.write(
327
- "\t\t%s.%s.ActiveCfg = %s\r\n"
328
- % (
329
- g, # Project GUID
330
- v, # Solution build configuration
331
- nv, # Project build config for that solution config
332
- )
333
- )
334
-
335
- # Enable project in this solution configuration.
336
- f.write(
337
- "\t\t%s.%s.Build.0 = %s\r\n"
338
- % (
339
- g, # Project GUID
340
- v, # Solution build configuration
341
- nv, # Project build config for that solution config
342
- )
343
- )
344
- f.write("\tEndGlobalSection\r\n")
345
-
346
- # TODO(rspangler): Should be able to configure this stuff too (though I've
347
- # never seen this be any different)
348
- f.write("\tGlobalSection(SolutionProperties) = preSolution\r\n")
349
- f.write("\t\tHideSolutionNode = FALSE\r\n")
350
- f.write("\tEndGlobalSection\r\n")
351
-
352
- # Folder mappings
353
- # Omit this section if there are no folders
354
- if any(e.entries for e in all_entries if isinstance(e, MSVSFolder)):
355
- f.write("\tGlobalSection(NestedProjects) = preSolution\r\n")
356
- for e in all_entries:
357
- if not isinstance(e, MSVSFolder):
358
- continue # Does not apply to projects, only folders
359
- for subentry in e.entries:
360
- f.write(f"\t\t{subentry.get_guid()} = {e.get_guid()}\r\n")
361
- f.write("\tEndGlobalSection\r\n")
362
-
363
- f.write("EndGlobal\r\n")
364
-
365
- f.close()