# pyproject.toml # Python project metadata and build settings for this code base. # Documentation: . [project] # Name of the Python distribution to build. name = "dput" # Keywords to assist searching for this distribution in a larger catalog. keywords = ["debian", "package", "upload", "test"] # Trove classifiers for this project. # Reference: . classifiers = [ "Development Status :: 5 - Production/Stable", "Operating System :: POSIX", "Programming Language :: Python :: 3", "Intended Audience :: Developers", "Topic :: Software Development :: Build Tools", ] # SPDX license expression for the copyright license granted to recipients. license = "GPL-3.0-or-later" # Files in this project containing full text of copyright license granted. license-files = [ "LICENSE.GPL-3", ] # Core dependencies required for the package to operate. dependencies = [ # Abstractions for many formats of Debian related files. # Homepage: . "python-debian", # Bindings for GPGME GnuPG cryptography library. # Homepage: . "gpg", # Variables defined by the XDG Base Directory Specification. # Homepage: . "xdg", ] # Names of fields that must be dynamically computed by the build system. dynamic = [ "description", "readme", "version", "authors", "maintainers", "urls", ] # Executable commands to install for this distribution. # Key is the command name, value is the `module_name:callable_name` to invoke. [project.scripts] execute-dput = "dput.dput:main" execute-dcut = "dput.dcut:dcut" [project.optional-dependencies] test = [ # Extensions to the Python ‘unittest’ framework. # Documentation: . "testtools", # Data-driven test scenarios for ‘unittest’. # Documentation: . "testscenarios >= 0.4", # Library of fake data generators. # Documentation: . "Faker", ] [build-system] # Minimum requirements for the build system. requires = [ # Framework for working with Python packages. # Documentation: . "setuptools >= 62.4.0", # Abstractions for many formats of Debian related files. # Homepage: . "python-debian", ] # Path to the Python object to perform the build. build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] # Folders that contain the packages (default: ["."]). where = ["."] # Filename globs to exclude from package discovery. exclude = ["debian", "test"] # Configuration for PyLint static analysis tool. # Reference: [tool.pylint."messages control"] # Disable the message, report, category or checker with the given id(s). disable = [ # Python's `str.format` is more explicit and readable than F strings. "consider-using-f-string", ] # Local-variables: # coding: utf-8 # mode: conf # mode: toml # End: # vim: fileencoding=utf-8 filetype=toml :