|
| 1 | +[build-system] |
| 2 | +build-backend = "setuptools.build_meta" |
| 3 | +requires = ["setuptools >= 61.0"] |
| 4 | + |
| 5 | +[project] |
| 6 | +authors = [ |
| 7 | + { email = "[email protected]", name = "Andrew White"}, |
| 8 | +] |
| 9 | +# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 10 | +classifiers = [ |
| 11 | + "License :: OSI Approved :: Apache Software License", |
| 12 | + "Operating System :: OS Independent", |
| 13 | + "Programming Language :: Python :: 3 :: Only", |
| 14 | + "Programming Language :: Python :: 3.10", |
| 15 | + "Programming Language :: Python :: 3.11", |
| 16 | + "Programming Language :: Python :: 3.12", |
| 17 | + "Programming Language :: Python :: 3.8", |
| 18 | + "Programming Language :: Python :: 3.9", |
| 19 | + "Programming Language :: Python", |
| 20 | +] |
| 21 | +dependencies = [ |
| 22 | + "PyCryptodome", |
| 23 | + "html2text", |
| 24 | + "numpy", |
| 25 | + "openai>=1", |
| 26 | + "pydantic>=2", |
| 27 | + "pypdf", |
| 28 | + "tiktoken>=0.4.0", |
| 29 | +] |
| 30 | +description = "LLM Chain for answering questions from docs" |
| 31 | +keywords = ["question answering"] |
| 32 | +license = {file = "LICENSE"} |
| 33 | +maintainers = [ |
| 34 | + { email = "[email protected]", name = "James Braza"}, |
| 35 | + { email = "[email protected]", name = "Andrew White"}, |
| 36 | +] |
| 37 | +name = "paper-qa" |
| 38 | +readme = "README.md" |
| 39 | +requires-python = ">=3.8" |
| 40 | +urls = {repository = "https://github.com/whitead/paper-qa"} |
| 41 | +version = "4.3.0" |
| 42 | + |
1 | 43 | [tool.codespell]
|
2 | 44 | check-filenames = true
|
3 | 45 | check-hidden = true
|
@@ -55,6 +97,13 @@ module = [
|
55 | 97 | "sentence_transformers", # SEE: https://github.com/UKPLab/sentence-transformers/issues/1723
|
56 | 98 | ]
|
57 | 99 |
|
| 100 | +[tool.pytest.ini_options] |
| 101 | +# List of directories that should be searched for tests when no specific directories, |
| 102 | +# files or test ids are given in the command line when executing pytest from the rootdir |
| 103 | +# directory. File system paths may use shell-style wildcards, including the recursive ** |
| 104 | +# pattern. |
| 105 | +testpaths = ["tests"] |
| 106 | + |
58 | 107 | [tool.ruff]
|
59 | 108 | # Line length to use when enforcing long-lines violations (like `E501`).
|
60 | 109 | line-length = 120
|
@@ -134,6 +183,9 @@ max-doc-length = 120 # Match line-length
|
134 | 183 | # defaults when analyzing docstring sections.
|
135 | 184 | convention = "google"
|
136 | 185 |
|
| 186 | +[tool.setuptools.packages.find] |
| 187 | +include = ["paperqa*"] |
| 188 | + |
137 | 189 | [tool.tomlsort]
|
138 | 190 | all = true
|
139 | 191 | in_place = true
|
|
0 commit comments