diff --git a/pyproject.toml b/pyproject.toml index 35d2da4b..61082b20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,12 +33,16 @@ classifiers = [ "Changes" = "https://github.com/heuer/segno/blob/master/CHANGES.rst" +[tool.setuptools] +packages = ["segno"] + + [tool.setuptools.dynamic] version = {attr = "segno.__version__"} [project.scripts] -segno = "segno:cli:main" +segno = "segno.cli:main" [tool.setuptools.package-data] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index e096e826..00000000 --- a/setup.cfg +++ /dev/null @@ -1,71 +0,0 @@ -[bdist_wheel] -universal = 1 - -[flake8] -max-line-length = 120 - -[coverage:run] -branch = true - -[coverage:report] -exclude_lines = - # Have to re-enable the standard pragma - pragma: no cover - # Don't complain if non-runnable code isn't run: - if __name__ == .__main__.: - -[metadata] -name = segno -version = attr:segno.__version__ -url = https://github.com/heuer/segno/ -project_urls = - Homepage = https://github.com/heuer/segno/ - Documentation = https://segno.readthedocs.io/ - Code = https://github.com/heuer/segno/ - Issue tracker = https://github.com/heuer/segno/issues/ -description = QR Code and Micro QR Code generator for Python -long_description = file: README.rst, CHANGES.rst -long_description_content_type= text/x-rst -license = BSD-3-Clause -license_files = LICENSE -author = Lars Heuer -author_email = heuer@semagia.com -platform = any -keywords = - QR Code, Micro QR Code, ISO/IEC 18004, ISO/IEC 18004:2006(E), - ISO/IEC 18004:2015(E), qrcode, QR, barcode, matrix, 2D, latex -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: BSD License - Operating System :: OS Independent - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - Topic :: Multimedia :: Graphics - Topic :: Printing - Topic :: Software Development :: Libraries :: Python Modules - Topic :: Utilities - -[options] -packages = segno -include_package_data = true -python_requires = != 3.0.*, != 3.1.*, != 3.2.*, != 3.3.*, != 3.4.* - -[options.package_data] -segno = py.typed, *.pyi - -[options.data_files] -share/man/man1 = - man/segno.1 - -[options.entry_points] -console_scripts = - segno = segno.cli:main diff --git a/setup.py b/setup.py deleted file mode 100644 index 60d0d919..00000000 --- a/setup.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# -# Copyright (c) 2016 - 2023 -- Lars Heuer -# All rights reserved. -# -# License: BSD License -# -"""\ -Setup script. -""" -from setuptools import setup - -setup()