rensoai-code-graph 1.0.4__py3-none-win_amd64.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.
- rensoai_code_graph/__init__.py +5 -0
- rensoai_code_graph/__version__.py +3 -0
- rensoai_code_graph/_binaries/code_graph-mcp.exe +0 -0
- rensoai_code_graph/_binaries/code_graph.exe +0 -0
- rensoai_code_graph/_launcher.py +40 -0
- rensoai_code_graph/cli.py +7 -0
- rensoai_code_graph/mcp.py +7 -0
- rensoai_code_graph-1.0.4.dist-info/METADATA +70 -0
- rensoai_code_graph-1.0.4.dist-info/RECORD +11 -0
- rensoai_code_graph-1.0.4.dist-info/WHEEL +4 -0
- rensoai_code_graph-1.0.4.dist-info/entry_points.txt +3 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""Shared launcher: locate the bundled binary in the wheel and exec it."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import sys
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def binary_path(name: str) -> Path:
|
|
11
|
+
"""Path to ``name`` (e.g. ``code_graph``) inside this wheel."""
|
|
12
|
+
pkg_root = Path(__file__).resolve().parent
|
|
13
|
+
suffix = ".exe" if sys.platform == "win32" else ""
|
|
14
|
+
candidate = pkg_root / "_binaries" / f"{name}{suffix}"
|
|
15
|
+
if not candidate.exists():
|
|
16
|
+
raise FileNotFoundError(
|
|
17
|
+
f"{name} binary missing from rensoai-code-graph wheel; "
|
|
18
|
+
f"expected {candidate}. This usually means the wheel was "
|
|
19
|
+
"tampered with or an unsupported platform-tag was forced."
|
|
20
|
+
)
|
|
21
|
+
return candidate
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def exec_binary(name: str) -> "int | None":
|
|
25
|
+
"""Run the bundled ``name`` binary, forwarding argv + env.
|
|
26
|
+
|
|
27
|
+
On Unix, ``os.execv`` replaces the Python process (no return).
|
|
28
|
+
On Windows, ``os.spawnv`` waits for the child and ``sys.exit``s
|
|
29
|
+
with its exit code.
|
|
30
|
+
"""
|
|
31
|
+
path = binary_path(name)
|
|
32
|
+
args = [str(path), *sys.argv[1:]]
|
|
33
|
+
if sys.platform == "win32":
|
|
34
|
+
# execv on Windows leaves stale handles; spawn+wait is safer.
|
|
35
|
+
rc = os.spawnv(os.P_WAIT, str(path), args)
|
|
36
|
+
sys.exit(int(rc))
|
|
37
|
+
else:
|
|
38
|
+
os.execv(str(path), args)
|
|
39
|
+
# unreachable
|
|
40
|
+
return None
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rensoai-code-graph
|
|
3
|
+
Version: 1.0.4
|
|
4
|
+
Summary: Dependency graph analyzer for code, tests, docs, and policy surfaces. Bundles the prebuilt code_graph + code_graph-mcp binaries as a per-platform wheel.
|
|
5
|
+
Project-URL: Homepage, https://cg.renso.ai
|
|
6
|
+
Project-URL: Documentation, https://cg.renso.ai/docs
|
|
7
|
+
Project-URL: Source, https://github.com/Renso-AI/code-graph-dist
|
|
8
|
+
Project-URL: Issues, https://github.com/Renso-AI/code-graph-dist/issues
|
|
9
|
+
Author: Renso AI
|
|
10
|
+
License: Proprietary - (c) Renso AI. All rights reserved. NOT open source.
|
|
11
|
+
Keywords: blast-radius,code-graph,llm,mcp,static-analysis
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: Other/Proprietary License
|
|
15
|
+
Classifier: Operating System :: MacOS
|
|
16
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Topic :: Software Development
|
|
20
|
+
Requires-Python: >=3.9
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# rensoai-code-graph (PyPI)
|
|
24
|
+
|
|
25
|
+
`pipx install rensoai-code-graph` installs the prebuilt `code_graph` and
|
|
26
|
+
`code_graph-mcp` binaries — per-platform wheels with the binary
|
|
27
|
+
bundled.
|
|
28
|
+
|
|
29
|
+
## Files in this directory
|
|
30
|
+
|
|
31
|
+
- `pyproject.toml` — Hatch backend, `[project.scripts]` entries,
|
|
32
|
+
pinned cibuildwheel matrix
|
|
33
|
+
- `src/rensoai_code_graph/` — Python package: launcher + console-script
|
|
34
|
+
entry points
|
|
35
|
+
- `scripts/build_wheels.py` — release-time wheel builder
|
|
36
|
+
- `README.md` — what users see on PyPI
|
|
37
|
+
|
|
38
|
+
## Per-platform wheel matrix
|
|
39
|
+
|
|
40
|
+
| Wheel tag | Binary target |
|
|
41
|
+
|-------------------------------------------------|----------------------------|
|
|
42
|
+
| `py3-none-manylinux_2_28_x86_64.whl` | x86_64-unknown-linux-gnu |
|
|
43
|
+
| `py3-none-manylinux_2_28_aarch64.whl` | aarch64-unknown-linux-gnu |
|
|
44
|
+
| `py3-none-macosx_10_12_x86_64.whl` | x86_64-apple-darwin |
|
|
45
|
+
| `py3-none-macosx_11_0_arm64.whl` | aarch64-apple-darwin |
|
|
46
|
+
| `py3-none-win_amd64.whl` | x86_64-pc-windows-msvc |
|
|
47
|
+
|
|
48
|
+
Each wheel is `py3-none-<platform>` so end users only ever pull one
|
|
49
|
+
wheel per machine, regardless of Python version.
|
|
50
|
+
|
|
51
|
+
## No sdist
|
|
52
|
+
|
|
53
|
+
`pyproject.toml` excludes everything from the sdist target. Only
|
|
54
|
+
wheels go to PyPI — there is no source distribution that could
|
|
55
|
+
trick a user (or a downstream build system) into compiling from
|
|
56
|
+
source.
|
|
57
|
+
|
|
58
|
+
## How a release ships wheels
|
|
59
|
+
|
|
60
|
+
`.github/workflows/release.yml` job `publish-pip`:
|
|
61
|
+
|
|
62
|
+
1. Downloads the prebuilt-binary tarballs from `dist/`.
|
|
63
|
+
2. Runs `scripts/build_wheels.py` which, per platform:
|
|
64
|
+
- Templates `src/rensoai_code_graph/__version__.py` with the
|
|
65
|
+
release version.
|
|
66
|
+
- Copies the matching binary into
|
|
67
|
+
`src/rensoai_code_graph/_binaries/`.
|
|
68
|
+
- Runs `python -m build --wheel` (Hatch backend) targeting the
|
|
69
|
+
correct platform tag.
|
|
70
|
+
3. `twine upload` ships all wheels to PyPI.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
rensoai_code_graph/__init__.py,sha256=Jec2a96uIZpYwwOCYX10naTm8QZajlnvhLsI2Q4flPE,147
|
|
2
|
+
rensoai_code_graph/__version__.py,sha256=0D9KyoG3by-tuvNLHFpOSxnnymxjHteqHTc48CFN9Xw,74
|
|
3
|
+
rensoai_code_graph/_launcher.py,sha256=9deEqwa-LlXXFd9xmYTTc0CrvnvKAigw4qhJ6ZskU_w,1340
|
|
4
|
+
rensoai_code_graph/cli.py,sha256=4lyZ1A09cd2F2M_MJLjhctPMzb2dVIh2hUxF5td_FKw,147
|
|
5
|
+
rensoai_code_graph/mcp.py,sha256=h2bGLAORofefrZPH2npFPr1qZQrdyjKMjW_Y0ymxPN8,158
|
|
6
|
+
rensoai_code_graph/_binaries/code_graph-mcp.exe,sha256=1iHy_m6I2zhJW0IOHmEyTYr1_At5gg2uxKO7YV6_oSc,18185728
|
|
7
|
+
rensoai_code_graph/_binaries/code_graph.exe,sha256=bq3td5pqRqSmgYEsMO_lyE7RsRE6_AS0iUytIButCK0,29144576
|
|
8
|
+
rensoai_code_graph-1.0.4.dist-info/METADATA,sha256=jy2vgPjoGUh1JarA84R0c3N6nXvc8wJ1Lml2uOoQy1k,2968
|
|
9
|
+
rensoai_code_graph-1.0.4.dist-info/WHEEL,sha256=OKr2XcpSNWrtUe-CU6RMYrBnsfqGnZ3jZM4vKnozTRA,94
|
|
10
|
+
rensoai_code_graph-1.0.4.dist-info/entry_points.txt,sha256=751xul2s0PVNhrwbdPn2GvwdZga4BH9xSuKWerAQtUM,104
|
|
11
|
+
rensoai_code_graph-1.0.4.dist-info/RECORD,,
|