askrobots / dbbasic-forms
Public
A form builder that keeps forms and responses in TSV files: git-friendly, no database, CSV export.
pyproject.toml · 2.1 KB · 80 lines
| 1 | [build-system] |
| 2 | requires = ["setuptools>=45", "wheel"] |
| 3 | build-backend = "setuptools.build_meta" |
| 4 | |
| 5 | [project] |
| 6 | name = "dbbasic-forms" |
| 7 | version = "1.0.1" |
| 8 | description = "A git-friendly form builder using TSV storage" |
| 9 | readme = "README.md" |
| 10 | requires-python = ">=3.8" |
| 11 | license = {text = "MIT"} |
| 12 | authors = [ |
| 13 | {name = "AskRobots Contributors"} |
| 14 | ] |
| 15 | keywords = ["forms", "tsv", "git", "form-builder", "no-database", "static-forms"] |
| 16 | classifiers = [ |
| 17 | "Development Status :: 4 - Beta", |
| 18 | "Intended Audience :: Developers", |
| 19 | "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| 20 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 21 | "License :: OSI Approved :: MIT License", |
| 22 | "Programming Language :: Python :: 3", |
| 23 | "Programming Language :: Python :: 3.8", |
| 24 | "Programming Language :: Python :: 3.9", |
| 25 | "Programming Language :: Python :: 3.10", |
| 26 | "Programming Language :: Python :: 3.11", |
| 27 | "Programming Language :: Python :: 3.12", |
| 28 | "Operating System :: OS Independent", |
| 29 | ] |
| 30 | |
| 31 | dependencies = [ |
| 32 | "dbbasic-tsv>=1.0.0", |
| 33 | ] |
| 34 | |
| 35 | [project.urls] |
| 36 | Homepage = "https://github.com/askrobots/dbbasic-forms" |
| 37 | Documentation = "https://github.com/askrobots/dbbasic-forms#readme" |
| 38 | Repository = "https://github.com/askrobots/dbbasic-forms" |
| 39 | Issues = "https://github.com/askrobots/dbbasic-forms/issues" |
| 40 | |
| 41 | [project.optional-dependencies] |
| 42 | dev = [ |
| 43 | "pytest>=7.0", |
| 44 | "pytest-cov>=4.0", |
| 45 | "black>=22.0", |
| 46 | "isort>=5.0", |
| 47 | "flake8>=5.0", |
| 48 | ] |
| 49 | |
| 50 | [tool.setuptools] |
| 51 | packages = ["dbbasic_forms", "dbbasic_forms.api", "dbbasic_forms.api.forms"] |
| 52 | |
| 53 | [tool.setuptools.package-data] |
| 54 | dbbasic_forms = ["templates/**/*.html", "templates/**/*.css"] |
| 55 | |
| 56 | [tool.black] |
| 57 | line-length = 100 |
| 58 | target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] |
| 59 | |
| 60 | [tool.isort] |
| 61 | profile = "black" |
| 62 | line_length = 100 |
| 63 | |
| 64 | [tool.pytest.ini_options] |
| 65 | testpaths = ["tests"] |
| 66 | python_files = ["test_*.py", "*_test.py"] |
| 67 | addopts = "-v --tb=short" |
| 68 | |
| 69 | [tool.coverage.run] |
| 70 | source = ["dbbasic_forms"] |
| 71 | omit = ["*/tests/*", "*/test_*.py"] |
| 72 | |
| 73 | [tool.coverage.report] |
| 74 | exclude_lines = [ |
| 75 | "pragma: no cover", |
| 76 | "def __repr__", |
| 77 | "if __name__ == .__main__.:", |
| 78 | "raise NotImplementedError", |
| 79 | "if TYPE_CHECKING:", |
| 80 | ] |