REA setup.py notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
setup.py pins setuptools imperative-config identity. In REA 6.7.x, treat selected strings/kwargs as Evidence beside archive/package routes — complementing cousins without inventing APIs. Prefer reading text over executing foreign scripts.
Mental model
- Authorize the setup.py (+ artifacts you hold).
- Quote selected name/version/install_requires pins you actually see (never paste secrets / tokens).
- Cousins → setup-cfg · setup-flags · pip-requirements.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a
inspect_setup_pyAPI REA never called.
Minimal path
# authorized setup.py (+ artifact you hold)
# quote selected setup() kwargs into case notes — do not execute untrusted scripts
# cousins → setup-cfg / setup-flags / pip-requirements
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_setup_py .
Compare
| Artifact | Honest posture |
|---|---|
| setup.py | setuptools imperative-config identity facts |
| setup.cfg lane | rea-setup-cfg |
| setup-flags lane | rea-setup-flags |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_setup_py/ automatic setup.py execution. - No credential theft from env / tokens / repository credentials in scripts.
- No pirate redistribution of paid packages.
- No crack framing via config pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-setup-cfg?
rea-setup-cfg covers declarative setup.cfg Evidence. This page zooms on setup.py imperative identity — it does not overwrite that page.
Is there inspect_setup_py in 6.7.0?
Not assumed. Quote kwargs / strings you actually open. Do not invent inspect_setup_py.
Does REA execute setup.py for you?
No. Local trees only. Do not run untrusted setup.py. No credential theft.
setup.py vs setup.cfg vs pyproject.toml?
Label Evidence by the file present. Prefer reading text; do not execute foreign setup scripts.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).