askrobots / dbbasic-content
Public
WordPress-style content management with block-based pages, stored as JSON files on disk instead of MySQL.
pyproject.toml · 1.8 KB · 65 lines
| 1 | [build-system] |
| 2 | requires = ["setuptools>=61.0", "wheel"] |
| 3 | build-backend = "setuptools.build_meta" |
| 4 | |
| 5 | [project] |
| 6 | name = "dbbasic-content" |
| 7 | version = "0.2.0" |
| 8 | description = "Unix-foundation content management for web apps - WordPress escape toolkit" |
| 9 | readme = "README.md" |
| 10 | authors = [{name = "Dan Quellhorst", email = "dan@quellhorst.com"}] |
| 11 | license = {text = "MIT"} |
| 12 | classifiers = [ |
| 13 | "Development Status :: 3 - Alpha", |
| 14 | "Intended Audience :: Developers", |
| 15 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 16 | "License :: OSI Approved :: MIT License", |
| 17 | "Programming Language :: Python :: 3", |
| 18 | "Programming Language :: Python :: 3.8", |
| 19 | "Programming Language :: Python :: 3.9", |
| 20 | "Programming Language :: Python :: 3.10", |
| 21 | "Programming Language :: Python :: 3.11", |
| 22 | ] |
| 23 | keywords = ["cms", "content-management", "wordpress", "unix", "blocks", "json"] |
| 24 | requires-python = ">=3.8" |
| 25 | dependencies = [ |
| 26 | "dbbasic-tsv>=1.0.0", |
| 27 | ] |
| 28 | |
| 29 | [project.optional-dependencies] |
| 30 | dev = [ |
| 31 | "pytest>=7.0", |
| 32 | "pytest-cov>=4.0", |
| 33 | ] |
| 34 | wordpress = [ |
| 35 | "pymysql>=1.0", |
| 36 | ] |
| 37 | |
| 38 | [project.urls] |
| 39 | Homepage = "https://github.com/askrobots/dbbasic-content" |
| 40 | Documentation = "https://github.com/askrobots/dbbasic-content#readme" |
| 41 | Repository = "https://github.com/askrobots/dbbasic-content" |
| 42 | "Bug Tracker" = "https://github.com/askrobots/dbbasic-content/issues" |
| 43 | |
| 44 | [project.scripts] |
| 45 | dbcontent = "dbbasic_content.cli:main" |
| 46 | |
| 47 | [tool.pytest.ini_options] |
| 48 | testpaths = ["tests"] |
| 49 | python_files = ["test_*.py"] |
| 50 | python_classes = ["Test*"] |
| 51 | python_functions = ["test_*"] |
| 52 | addopts = ["-v", "--strict-markers", "--tb=short"] |
| 53 | |
| 54 | [tool.coverage.run] |
| 55 | source = ["dbbasic_content"] |
| 56 | omit = ["tests/*", "*/test_*.py"] |
| 57 | |
| 58 | [tool.coverage.report] |
| 59 | exclude_lines = [ |
| 60 | "pragma: no cover", |
| 61 | "def __repr__", |
| 62 | "raise AssertionError", |
| 63 | "raise NotImplementedError", |
| 64 | "if __name__ == .__main__.:", |
| 65 | ] |