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:
parent
c5ec09a230
commit
3c19420b3e
7 changed files with 141 additions and 11 deletions
6
setup.py
6
setup.py
|
|
@ -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/*"))
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue