Format code base with black
https://black.readthedocs.io/en/stable/ JIRA: COMPOSE-4086 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
38142d30ba
commit
41a629969c
84 changed files with 5748 additions and 3325 deletions
84
setup.py
84
setup.py
|
|
@ -24,61 +24,47 @@ packages = sorted(packages)
|
|||
|
||||
|
||||
setup(
|
||||
name = "pungi",
|
||||
version = "4.2.0",
|
||||
description = "Distribution compose tool",
|
||||
url = "https://pagure.io/pungi",
|
||||
author = "Dennis Gilmore",
|
||||
author_email = "dgilmore@fedoraproject.org",
|
||||
license = "GPLv2",
|
||||
|
||||
packages = packages,
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'comps_filter = pungi.scripts.comps_filter:main',
|
||||
'pungi = pungi.scripts.pungi:main',
|
||||
'pungi-create-unified-isos = pungi.scripts.create_unified_isos:main',
|
||||
'pungi-fedmsg-notification = pungi.scripts.fedmsg_notification:main',
|
||||
'pungi-patch-iso = pungi.scripts.patch_iso:cli_main',
|
||||
'pungi-make-ostree = pungi.ostree:main',
|
||||
'pungi-notification-report-progress = pungi.scripts.report_progress:main',
|
||||
'pungi-orchestrate = pungi_utils.orchestrator:main',
|
||||
'pungi-wait-for-signed-ostree-handler = pungi.scripts.wait_for_signed_ostree_handler:main',
|
||||
'pungi-koji = pungi.scripts.pungi_koji:cli_main',
|
||||
'pungi-gather = pungi.scripts.pungi_gather:cli_main',
|
||||
'pungi-config-dump = pungi.scripts.config_dump:cli_main',
|
||||
'pungi-config-validate = pungi.scripts.config_validate:cli_main',
|
||||
name="pungi",
|
||||
version="4.2.0",
|
||||
description="Distribution compose tool",
|
||||
url="https://pagure.io/pungi",
|
||||
author="Dennis Gilmore",
|
||||
author_email="dgilmore@fedoraproject.org",
|
||||
license="GPLv2",
|
||||
packages=packages,
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"comps_filter = pungi.scripts.comps_filter:main",
|
||||
"pungi = pungi.scripts.pungi:main",
|
||||
"pungi-create-unified-isos = pungi.scripts.create_unified_isos:main",
|
||||
"pungi-fedmsg-notification = pungi.scripts.fedmsg_notification:main",
|
||||
"pungi-patch-iso = pungi.scripts.patch_iso:cli_main",
|
||||
"pungi-make-ostree = pungi.ostree:main",
|
||||
"pungi-notification-report-progress = pungi.scripts.report_progress:main",
|
||||
"pungi-orchestrate = pungi_utils.orchestrator:main",
|
||||
"pungi-wait-for-signed-ostree-handler = pungi.scripts.wait_for_signed_ostree_handler:main",
|
||||
"pungi-koji = pungi.scripts.pungi_koji:cli_main",
|
||||
"pungi-gather = pungi.scripts.pungi_gather:cli_main",
|
||||
"pungi-config-dump = pungi.scripts.config_dump:cli_main",
|
||||
"pungi-config-validate = pungi.scripts.config_validate:cli_main",
|
||||
]
|
||||
},
|
||||
scripts = [
|
||||
'contrib/yum-dnf-compare/pungi-compare-depsolving',
|
||||
scripts=["contrib/yum-dnf-compare/pungi-compare-depsolving",],
|
||||
data_files=[
|
||||
("/usr/share/pungi", glob.glob("share/*.xsl")),
|
||||
("/usr/share/pungi", glob.glob("share/*.ks")),
|
||||
("/usr/share/pungi", glob.glob("share/*.dtd")),
|
||||
("/usr/share/pungi/multilib", glob.glob("share/multilib/*")),
|
||||
],
|
||||
data_files = [
|
||||
('/usr/share/pungi', glob.glob('share/*.xsl')),
|
||||
('/usr/share/pungi', glob.glob('share/*.ks')),
|
||||
('/usr/share/pungi', glob.glob('share/*.dtd')),
|
||||
('/usr/share/pungi/multilib', glob.glob('share/multilib/*')),
|
||||
],
|
||||
test_suite = "tests",
|
||||
install_requires = [
|
||||
test_suite="tests",
|
||||
install_requires=[
|
||||
"jsonschema",
|
||||
"kobo",
|
||||
"lxml",
|
||||
"productmd>=1.23",
|
||||
"six",
|
||||
'dogpile.cache',
|
||||
],
|
||||
extras_require={
|
||||
':python_version=="2.7"': [
|
||||
'enum34',
|
||||
"lockfile",
|
||||
'dict.sorted',
|
||||
]
|
||||
},
|
||||
tests_require = [
|
||||
"black",
|
||||
"mock",
|
||||
"nose",
|
||||
"nose-cov",
|
||||
],
|
||||
"dogpile.cache",
|
||||
],
|
||||
extras_require={':python_version=="2.7"': ["enum34", "lockfile", "dict.sorted",]},
|
||||
tests_require=["mock", "nose", "nose-cov",],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue