Aiden Grossman 120e062377
[MLGO] Remove absl dependency from scripts (#78880)
This patch removes the absl dependency from the mlgo-utils scripts. We
were only using absl.logging, and absl.flags, so this patch just
consists of mechanically converting the absl flags parsing to Python's
builtin argparse as Python's logging is a drop in replacement for
absl.logging.
2024-01-21 15:06:58 -08:00

23 lines
589 B
TOML

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mlgo"
description = "Tooling for ML in LLVM"
readme = "README.md"
requires-python = ">=3.8,<3.11"
dynamic = ["version"]
license = {text = "Apache-2.0 WITH LLVM-exception"}
classifiers = [
"License :: OSI Approved :: Apache Software License"
]
[tool.setuptools.dynamic]
version = {attr = "mlgo.__version__"}
[project.scripts]
combine_training_corpus = "mlgo.combine_training_corpus:entrypoint"
extract_ir = "mlgo.extract_ir:entrypoint"
make_corpus = "mlgo.make_corpus:entrypoint"