forked from alexdlaird/amazon-orders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
100 lines (90 loc) · 2.42 KB
/
pyproject.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "amazon-orders"
dynamic = ["version"]
description = "A CLI and library for interacting with Amazon order history."
readme = "README.md"
license = { file = "LICENSE" }
maintainers = [{ name = "Alex Laird", email = "contact@alexlaird.com" }]
requires-python = ">=3.8"
dependencies = [
"click>=7.1",
"requests>=2.23",
"amazoncaptcha>=0.4",
"beautifulsoup4>=4.8",
"PyYAML>=5.1"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
dev = [
"pytest",
"parameterized",
"coverage[toml]",
"flake8",
"flake8-pyproject",
"pep8-naming",
"responses",
"flask",
"twilio",
"pyngrok"
]
docs = [
"Sphinx",
"sphinx-notfound-page",
"sphinx_autodoc_typehints",
"mypy",
"types-requests",
"types-beautifulsoup4",
"types-Pillow",
]
[project.scripts]
amazon-orders = "amazonorders.cli:amazon_orders_cli"
[project.urls]
Changelog = "https://github.com/alexdlaird/amazon-orders/blob/main/CHANGELOG.md"
Documentation = "https://amazon-orders.readthedocs.io"
Sponsor = "https://github.com/sponsors/alexdlaird"
"Source Code" = "https://github.com/alexdlaird/amazon-orders"
[tool.setuptools]
package-dir = { amazonorders = "amazonorders" }
[tool.setuptools.dynamic]
version = { attr = "amazonorders.__version__" }
[tool.coverage.run]
omit = [
"venv/**",
"scripts/**",
"*/tests/**"
]
[tool.coverage.report]
precision = 2
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]
[tool.coverage.xml]
output = "build/coverage/coverage.xml"
[tool.coverage.html]
title = "Coverage Report"
directory = "build/coverage"
[tool.flake8]
max-line-length = 119
statistics = true
exclude = "scripts/*,docs/*,venv/*,build/*,dist/*,.egg-info/*,.mypy_cache/*"