-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (59 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
68 lines (59 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "usda_fdc"
version = "0.1.9"
description = "A comprehensive Python library for interacting with the USDA Food Data Central API"
readme = "README.md"
authors = [{ name = "Michael McGarrah", email = "mcgarrah@gmail.com" }]
license = { text = "MIT" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8"
dependencies = ["requests>=2.25.0", "pint>=0.17", "python-dotenv>=0.19.0"]
[project.optional-dependencies]
django = ["Django>=3.2"]
dev = [
"pytest>=6.0.0",
"pytest-cov>=2.12.0",
"black>=21.5b2",
"isort>=5.9.1",
"mypy>=0.812",
"flake8>=3.9.2",
]
docs = ["sphinx>=4.0.2", "sphinx-rtd-theme>=0.5.2"]
[project.urls]
Homepage = "https://github.com/mcgarrah/usda_fdc_python"
Documentation = "https://usda-fdc.readthedocs.io"
Issues = "https://github.com/mcgarrah/usda_fdc_python/issues"
[project.scripts]
fdc = "usda_fdc.cli:main"
fdc-nat = "usda_fdc.analysis.cli:main"
[tool.setuptools]
packages = ["usda_fdc"]
package-data = {"usda_fdc" = ["analysis/resources/dri/*.json"]}
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"