-
Notifications
You must be signed in to change notification settings - Fork 55
/
pyproject.toml
71 lines (63 loc) · 2.03 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
[tool.poetry]
name = "netsuite"
version = "0.12.0"
description = "Make async requests to NetSuite SuiteTalk SOAP/REST Web Services and Restlets"
authors = ["Jacob Magnusson <[email protected]>", "Mike Bianco <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://jacobsvante.github.io/netsuite/"
repository = "https://github.com/jacobsvante/netsuite"
documentation = "https://jacobsvante.github.io/netsuite/"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
python = ">=3.8"
authlib = ">=1,<3"
# As per httpx recommendation we will lock to a fixed minor version until 1.0 is released
httpx = ">=0.25,<0.28"
pydantic = "^2.4.2"
orjson = { version = "~3", optional = true }
ipython = { version = "~8", optional = true, python = "^3.8" }
zeep = { version = "~4", optional = true, extras = ["async"] }
pyodbc = { version = "^5.0.1", optional = true }
oauthlib = "~3"
[tool.poetry.extras]
odbc = ["pyodbc"]
soap_api = ["zeep"]
cli = ["ipython"]
orjson = ["orjson"]
# TODO doesn't --all-extras solve this for us?
all = ["zeep", "ipython", "orjson", "odbc"]
[tool.poetry.dev-dependencies]
black = "~24"
flake8 = "~5"
isort = "~5"
mkdocs-material = "~9"
mypy = ">=1,<3"
pytest = "~8"
pytest-cov = "~5"
types-setuptools = "^69.0.0"
types-requests = "^2.27.30"
[tool.poetry.scripts]
netsuite = 'netsuite.cli:main'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ["py37", "py38", "py39", "py310"]
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pytest.ini_options]
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]