#!/usr/bin/env python3 """ Setup script for deb-mock Debian's equivalent to Fedora's Mock build environment manager """ from setuptools import setup, find_packages import os # Read the README file for long description def read_readme(): with open("README.md", "r", encoding="utf-8") as fh: return fh.read() # Read requirements from requirements.txt def read_requirements(): with open("requirements.txt", "r", encoding="utf-8") as fh: return [line.strip() for line in fh if line.strip() and not line.startswith("#")] setup( name="deb-mock", version="0.1.0", author="Debian Bootc Ecosystem Team", author_email="debian-bootc@lists.debian.org", description="Debian's equivalent to Fedora's Mock build environment manager", long_description=read_readme(), long_description_content_type="text/markdown", url="https://github.com/debian/deb-bootc-compose", project_urls={ "Bug Tracker": "https://github.com/debian/deb-bootc-compose/issues", "Documentation": "https://github.com/debian/deb-bootc-compose/wiki", "Source Code": "https://github.com/debian/deb-bootc-compose", }, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Software Development :: Build Tools", "Topic :: System :: Systems Administration", ], packages=find_packages(), python_requires=">=3.9", install_requires=read_requirements(), extras_require={ "dev": [ "black>=23.0.0", "flake8>=6.0.0", "mypy>=1.0.0", "pytest>=7.0.0", "pytest-cov>=4.0.0", "pytest-mock>=3.10.0", ], }, entry_points={ "console_scripts": [ "deb-mock=deb_mock.cli:main", ], }, include_package_data=True, zip_safe=False, keywords="debian, mock, chroot, build, environment, packaging", platforms=["Linux"], )