debian-forge/setup.py
Simon de Vlieger 7c35b945ee depsolve: import dnf-json
Import the `dnf-json` Python script that is included in the "images" and
"osbuild-composer" repository into "osbuild".

`dnf-json` provides dependency solving capabilities by taking in some
JSON and then outputting the package set that JSON resolves to. Since it
is a Python script it moves into a subpackage of `osbuild`.

The script is renamed to `osbuild-depsolve-dnf`.
2023-10-16 20:47:17 +02:00

21 lines
461 B
Python

import setuptools
setuptools.setup(
name="osbuild",
version="98",
description="A build system for OS images",
packages=["osbuild", "osbuild.formats", "osbuild.util"],
license='Apache-2.0',
install_requires=[
"jsonschema",
],
entry_points={
"console_scripts": [
"osbuild = osbuild.main_cli:osbuild_cli"
]
},
scripts=[
"tools/osbuild-mpp",
"tools/osbuild-dev",
],
)