introduce spec file and related build scripts

The repository now contains a Vagrantfile for running the testing script
against an RPM package created locally using `make rpm`. To run this
test use `make vagrant-test`. setup.py was also modified to adhere to
packaging guidelines and not to install system-level executables.
The lincense is now included in the Python package using the MANIFEST.in
file.
This commit is contained in:
Martin Sehnoutka 2019-07-17 15:53:21 +02:00 committed by Lars Karlitski
parent c5ec09a230
commit 3c19420b3e
7 changed files with 141 additions and 11 deletions

View file

@ -6,12 +6,8 @@ setuptools.setup(
version="1",
description="A build system for OS images",
packages=["osbuild"],
license='Apache-2.0',
entry_points={
"console_scripts": ["osbuild = osbuild.__main__:main"]
},
data_files=[
("/usr/lib/osbuild", ["osbuild-run"]),
("/usr/lib/osbuild/stages", glob.glob("./stages/*")),
("/usr/lib/osbuild/assemblers", glob.glob("./assemblers/*"))
]
)