Skip to content

Commit

Permalink
Added more metadata to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Oct 26, 2023
1 parent 6eec5de commit ae5ad0b
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 120

59 changes: 59 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'


[project]
name = "segno"
description = "QR Code and Micro QR Code generator for Python"
dynamic = ["version"]
readme = "README.rst"
license = {file = "LICENSE"}
authors = [{"name" = "Lars Heuer", email = "heuer@semagia.com"}]
requires-python = ">=3.5"
keywords = ["QR Code", "Micro QR Code", "ISO/IEC 18004", "ISO/IEC 18004:2006(E)",
"ISO/IEC 18004:2015(E)", "qrcode", "QR", "barcode", "matrix", "2D",]
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",
"Topic :: Multimedia :: Graphics",
"Topic :: Printing",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]

[project.urls]
"Homepage" = "https://github.com/heuer/segno/"
"Documentation" = "https://segno.readthedocs.io/"
"Issue tracker" = "https://github.com/heuer/segno/issues/"
"Changes" = "https://github.com/heuer/segno/blob/master/CHANGES.rst"


[tool.setuptools.dynamic]
version = {attr = "segno.__version__"}


[project.scripts]
segno = "segno:cli:main"


[tool.setuptools.package-data]
segno = ["py.typed", "*.pyi"]


[tool.coverage.run]
branch = true


[tool.coverage.report]
exclude_also = [
# Don't complain if non-runnable code isn't run:
"if __name__ == .__main__.:",
]

#TODO!
#[options.data_files]
#share/man/man1 =
# man/segno.1

0 comments on commit ae5ad0b

Please sign in to comment.