|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=61.0", "wheel"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "easypost" |
| 7 | +description = "EasyPost Shipping API Client Library for Python" |
| 8 | +version = "10.3.0" |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.9" |
| 11 | +license = { file = "LICENSE" } |
| 12 | +authors = [{ name = "EasyPost", email = "[email protected]" }] |
| 13 | +classifiers = [ |
| 14 | + "Development Status :: 5 - Production/Stable", |
| 15 | + "Environment :: Web Environment", |
| 16 | + "Programming Language :: Python", |
| 17 | + "Programming Language :: Python :: 3.9", |
| 18 | + "Programming Language :: Python :: 3.10", |
| 19 | + "Programming Language :: Python :: 3.11", |
| 20 | + "Programming Language :: Python :: 3.12", |
| 21 | + "Programming Language :: Python :: 3.13", |
| 22 | + "Intended Audience :: Developers", |
| 23 | + "Operating System :: OS Independent", |
| 24 | + "License :: OSI Approved :: MIT License", |
| 25 | + "Topic :: Software Development :: Libraries", |
| 26 | +] |
| 27 | +dependencies = ["requests >= 2.4.3"] |
| 28 | +optional-dependencies = { dev = [ |
| 29 | + "bandit == 1.8.*", |
| 30 | + "black == 25.*", |
| 31 | + "build == 1.2.*", |
| 32 | + "flake8 == 6.*", |
| 33 | + "Flake8-pyproject == 1.2.*", |
| 34 | + "isort == 6.*", |
| 35 | + "mypy == 1.15.*", |
| 36 | + "pdoc == 15.*", |
| 37 | + "pytest-cov == 6.*", |
| 38 | + "pytest-vcr == 1.*", |
| 39 | + "pytest == 8.*", |
| 40 | + "vcrpy == 7.*", |
| 41 | +] } |
| 42 | + |
| 43 | +[project.urls] |
| 44 | +Docs = "https://docs.easypost.com" |
| 45 | +Tracker = "https://github.com/EasyPost/easypost-python/issues" |
| 46 | +Source = "https://github.com/EasyPost/easypost-python" |
| 47 | + |
| 48 | +[tool.setuptools.packages.find] |
| 49 | +exclude = ["docs", "examples", "tests"] |
| 50 | + |
| 51 | +[tool.setuptools.package-data] |
| 52 | +easypost = ["py.typed"] |
| 53 | + |
| 54 | +[tool.black] |
| 55 | +line-length = 120 |
| 56 | + |
| 57 | +[tool.isort] |
| 58 | +profile = "black" |
| 59 | +line_length = 120 |
| 60 | +indent = 4 |
| 61 | +force_grid_wrap = 2 |
| 62 | +multi_line_output = 3 |
| 63 | +sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER" |
| 64 | +lines_after_imports = 2 |
| 65 | +include_trailing_comma = true |
| 66 | +use_parentheses = true |
| 67 | + |
| 68 | +[tool.flake8] |
| 69 | +max-line-length = 120 |
| 70 | +extend-ignore = ["E203", "F821"] |
| 71 | +per-file-ignores = "__init__.py:F401" |
0 commit comments