Files
revng-revng/python/revng/internal/pyproject.toml
Giacomo Vercesi 62c1b44a54 revng: allow execution while in a venv
If a venv is running, the `revng` script should re-exec to allow the
correct modules to be loaded and allow running the `main` function of
the respective modules.
2026-01-29 14:54:24 +01:00

60 lines
1.2 KiB
TOML

# This file is distributed under the MIT License. See LICENSE.md for details.
[project]
name = "revng_internal"
description = "Internal revng modules"
dynamic = ["version"]
dependencies = [
# Requirements for revng_merge_dynamic
"pyelftools",
# revng.api
"cffi",
# revng.daemon
"ariadne",
"uvicorn",
"python-multipart",
"starlette",
"xdg",
# CLI: revng graphql
"aiohttp",
"gql",
"psutil",
# CLI: revng model fetch-debuginfo
"requests",
"requests-toolbelt",
"pefile",
# CLI: revng model import idb
"python-idb",
# CLI: revng model compare
"networkx",
"grandiso",
# General dependencies
"revng",
"PyYAML",
"Jinja2",
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
revng = [
"internal/pipeline.yml",
"internal/py.typed",
"internal/_pipebox.so",
"internal/daemon/schema.graphql",
"internal/cli/_commands/generate_migrations/migration.py.tpl",
"internal/cli/_commands/llm_rename/prompt.tpl",
]
[tool.setuptools]
script-files = [
"scripts/revng",
"scripts/revng2",
]
[tool.setuptools.dynamic]
version = {attr = "revng.internal.__version__"}