|
1 | 1 | [build-system] |
2 | 2 | build-backend = "setuptools.build_meta" |
3 | 3 | requires = [ |
4 | | - "setuptools>=42", |
5 | | - "setuptools_scm[toml]>=3.4", |
| 4 | + "setuptools>=61.2", |
| 5 | + "setuptools_scm[toml]>=6.2", |
6 | 6 | ] |
7 | 7 |
|
| 8 | +[project] |
| 9 | +name = "humanize" |
| 10 | +description = "Python humanize utilities" |
| 11 | +readme = "README.md" |
| 12 | +keywords = [ |
| 13 | + "humanize time size", |
| 14 | +] |
| 15 | +license = {text = "MIT"} |
| 16 | +maintainers = [{name = "Hugo van Kemenade"}] |
| 17 | +authors = [{name = "Jason Moiron", email = "jmoiron@jmoiron.net"}] |
| 18 | +requires-python = ">=3.7" |
| 19 | +dependencies = [ |
| 20 | + 'importlib-metadata; python_version < "3.8"', |
| 21 | +] |
| 22 | +dynamic = [ |
| 23 | + "version", |
| 24 | +] |
| 25 | +classifiers = [ |
| 26 | + "Development Status :: 5 - Production/Stable", |
| 27 | + "Intended Audience :: Developers", |
| 28 | + "License :: OSI Approved :: MIT License", |
| 29 | + "Operating System :: OS Independent", |
| 30 | + "Programming Language :: Python", |
| 31 | + "Programming Language :: Python :: 3", |
| 32 | + "Programming Language :: Python :: 3 :: Only", |
| 33 | + "Programming Language :: Python :: 3.7", |
| 34 | + "Programming Language :: Python :: 3.8", |
| 35 | + "Programming Language :: Python :: 3.9", |
| 36 | + "Programming Language :: Python :: 3.10", |
| 37 | + "Programming Language :: Python :: 3.11", |
| 38 | + "Programming Language :: Python :: Implementation :: CPython", |
| 39 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 40 | + "Topic :: Text Processing", |
| 41 | + "Topic :: Text Processing :: General", |
| 42 | +] |
| 43 | +[project.optional-dependencies] |
| 44 | +tests = [ |
| 45 | + "freezegun", |
| 46 | + "pytest", |
| 47 | + "pytest-cov", |
| 48 | +] |
| 49 | + |
| 50 | +[project.urls] |
| 51 | +Documentation = "https://python-humanize.readthedocs.io/" |
| 52 | +Funding = "https://tidelift.com/subscription/pkg/pypi-humanize?utm_source=pypi-humanize&utm_medium=pypi" |
| 53 | +Homepage = "https://github.com/python-humanize/humanize" |
| 54 | +"Issue tracker" = "https://github.com/python-humanize/humanize/issues" |
| 55 | +"Release notes" = "https://github.com/python-humanize/humanize/releases" |
| 56 | +Source = "https://github.com/python-humanize/humanize" |
| 57 | + |
| 58 | + |
8 | 59 | [tool.black] |
9 | 60 | target_version = ["py37"] |
10 | 61 |
|
| 62 | +[tool.hatch] |
| 63 | +version.source = "vcs" |
| 64 | + |
| 65 | +[tool.isort] |
| 66 | +profile = "black" |
| 67 | + |
| 68 | +[tool.pydocstyle] |
| 69 | +convention = "google" |
| 70 | + |
| 71 | +[tool.pytest.ini_options] |
| 72 | +addopts = "--color=yes" |
| 73 | + |
| 74 | +[tool.setuptools.packages.find] |
| 75 | +where = ["src"] |
| 76 | +namespaces = false |
| 77 | + |
11 | 78 | [tool.setuptools_scm] |
12 | 79 | local_scheme = "no-local-version" |
0 commit comments