debian-forge/setup.py
Christian Kellner 53f6c41917 osbuild: use osbuild_cli directly as main entry
Instead of having a another indirection via `main_cli`, directly
use `osbuild_cli` in as main function in `__main__.py`. Also use
that in as the entry point for the generated `osbuild` executable.
Change `osbuild_cli` to be self-contained, i.e. it directly uses
`sys.argv` and `sys.exit`.
2020-07-17 16:30:46 +01:00

17 lines
363 B
Python

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