Skip to content

Commit

Permalink
Migrated config to pyproject.toml using jaraco.develop.migrate-config…
Browse files Browse the repository at this point in the history
… and ini2toml.
  • Loading branch information
jaraco committed Apr 16, 2024
1 parent 822773b commit e2e8ef9
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 52 deletions.
57 changes: 56 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
[build-system]
requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"

[project]
name = "tempora"
authors = [
{ name = "Jason R. Coombs", email = "jaraco@jaraco.com" },
]
description = "Objects and routines pertaining to date and time (tempora)"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.8"
dependencies = [
"pytz",
"jaraco.functools>=1.20",
]
dynamic = ["version"]

[project.optional-dependencies]
testing = [
# upstream
"pytest >= 6, != 8.1.*",
"pytest-checkdocs >= 2.4",
"pytest-cov",
"pytest-mypy",
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1",

# local
"pytest-freezer",
"types-pytz",
]
docs = [
# upstream
"sphinx >= 3.5",
"jaraco.packaging >= 9.3",
"rst.linker >= 1.9",
"furo",
"sphinx-lint",

# tidelift
"jaraco.tidelift >= 1.4",

# local
]

[project.urls]
Homepage = "https://github.com/jaraco/tempora"

[project.scripts]
calc-prorate = "tempora:calculate_prorated_values"

[tool.setuptools_scm]
51 changes: 0 additions & 51 deletions setup.cfg

This file was deleted.

0 comments on commit e2e8ef9

Please sign in to comment.