2015-11-25 15:14:35 +00:00
|
|
|
#!/usr/bin/env python
|
2015-02-05 15:56:24 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
|
|
import os
|
2006-11-08 21:34:59 +00:00
|
|
|
import glob
|
|
|
|
|
2015-02-05 15:56:24 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
|
|
|
|
# recursively scan for python modules to be included
|
2016-10-24 11:22:51 +00:00
|
|
|
package_root_dirs = ["pungi", "pungi_utils"]
|
2015-02-05 15:56:24 +00:00
|
|
|
packages = set()
|
|
|
|
for package_root_dir in package_root_dirs:
|
|
|
|
for root, dirs, files in os.walk(package_root_dir):
|
|
|
|
if "__init__.py" in files:
|
|
|
|
packages.add(root.replace("/", "."))
|
|
|
|
packages = sorted(packages)
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
2020-02-03 03:50:06 +00:00
|
|
|
name="pungi",
|
2023-07-25 05:10:38 +00:00
|
|
|
version="4.4.1",
|
2020-02-03 03:50:06 +00:00
|
|
|
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",
|
2020-02-06 07:09:32 +00:00
|
|
|
"pungi-wait-for-signed-ostree-handler = pungi.scripts.wait_for_signed_ostree_handler:main", # noqa: E501
|
2020-02-03 03:50:06 +00:00
|
|
|
"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",
|
2019-12-06 02:54:11 +00:00
|
|
|
]
|
|
|
|
},
|
2020-02-07 02:50:25 +00:00
|
|
|
scripts=["contrib/yum-dnf-compare/pungi-compare-depsolving"],
|
2020-02-03 03:50:06 +00:00
|
|
|
data_files=[
|
2023-04-11 08:30:46 +00:00
|
|
|
("/usr/lib/tmpfiles.d", glob.glob("contrib/tmpfiles.d/*.conf")),
|
2020-02-03 03:50:06 +00:00
|
|
|
("/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/*")),
|
2015-06-25 12:02:52 +00:00
|
|
|
],
|
2020-02-03 03:50:06 +00:00
|
|
|
test_suite="tests",
|
|
|
|
install_requires=[
|
2017-01-18 12:35:49 +00:00
|
|
|
"jsonschema",
|
2016-06-06 09:21:19 +00:00
|
|
|
"kobo",
|
2016-06-01 13:19:06 +00:00
|
|
|
"lxml",
|
2019-12-06 08:49:01 +00:00
|
|
|
"productmd>=1.23",
|
2017-08-28 12:31:09 +00:00
|
|
|
"six",
|
2020-02-03 03:50:06 +00:00
|
|
|
"dogpile.cache",
|
|
|
|
],
|
2020-02-17 11:43:34 +00:00
|
|
|
extras_require={':python_version=="2.7"': ["enum34", "lockfile"]},
|
2020-07-28 01:23:53 +00:00
|
|
|
tests_require=["mock", "pytest", "pytest-cov"],
|
2012-11-26 07:32:01 +00:00
|
|
|
)
|