# SPDX-FileCopyrightText: © 2023 Christian BUHTZ # # SPDX-License-Identifier: CC0-1.0 # # This file is released under Creative Commons Zero 1.0 (CC0-1.0) and part of # the Python Distribution Package "buhtzology" which as a whole is released # under GNU General Public License v3 (GPLv3). # See LICENSES directory or go to # and . [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" [project] name = "hyperorg" version = "0.2.0" description = """ Converts Org-mode and Org-roam files into HTML for serverless local use.""" readme = "README.md" requires-python = ">=3.11" keywords = ["emacs", "org", "orgmode", "orgroam", "html", "css", "zettelkasten"] license = "GPL-3.0-only" classifiers = [ "Programming Language :: Python", "Environment :: Console", "Intended Audience :: Education", "Intended Audience :: Science/Research", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "Intended Audience :: Other Audience", "Operating System :: OS Independent", "Topic :: Education", "Topic :: Office/Business", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Sociology", "Topic :: Text Editors :: Emacs", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Utilities" ] authors = [ {name = "Christian Buhtz", email = "c.buhtz@posteo.jp"} ] dependencies = [ "orgparse", "python-dateutil", "packaging", ] [project.optional-dependencies] develop = [ "pytest", # Not mandatory "pyfakefs >= 5.7.0", # Fake filesystems for unit testing "flake8", "ruff >= 0.6.0", # PEP8 and some more checks (via unittest) "pylint >= 3.3.0", # Find code smells and common bad coding habit "pygments", # Some unittests not working without "codespell", # common typos "reuse >= 5.0.2", # REUSE specification ] [project.urls] homepage = "https://codeberg.org/buhtz/hyperorg" repository = "https://codeberg.org/buhtz/hyperorg" changelog = "https://codeberg.org/buhtz/hyperorg/src/CHANGELOG.md" [project.scripts] hyperorg = "hyperorg.__main__:main" [tool.setuptools.package-dir] hyperorg = "src/hyperorg" [tool.ruff] # Ruff counting branches different from PyLint. # See: pylint.max-branches=13 [tool.codespell] skip = [ "pyproject.toml", ".git", "__pycache__", ".pytest_cache", ".ruff_cache", ".mypy_cache", "build", "*.egg-info", "docs", "#*.py#", ".venv", "venv", "*.html", "pygments.css", ] enable-colors = true # Print N lines of surrounding context context = 1 # Check hidden files also check-hidden = true # Dictionaries to use (default: "clear,rare"). Current: all. builtin = [ "clear", "rare", "informal", "usage", "code", "names", "en-GB_to_en-US", ] # Print number of errors as last line on stderr count = true # Simulate "# noqa" and ignore all lines with # "# codespell-ignore" at the end. # Credits: https://github.com/codespell-project/codespell/ # issues/1212#issuecomment-1721152455 ignore-regex = ".*# codespell-ignore$" # Allowed (ignored) words ignore-words-list = ["assertIn"] # Allowed (ignored) words in URLs and URIs uri-ignore-words-list = ["master"]