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 18, 2024
1 parent b91f3c9 commit 5b759ec
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 76 deletions.
81 changes: 80 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
[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 = "pip-run"
authors = [
{ name = "Jason R. Coombs", email = "jaraco@jaraco.com" },
]
description = "install packages and run Python with them"
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 = [
"pip >= 19.3",
"autocommand",
"path >= 15.1",
"packaging",
"more_itertools >= 8.3",
"jaraco.context",
"jaraco.text",
"platformdirs",
'tomli; python_version < "3.11"',
'importlib_resources; python_version < "3.9"',
"jaraco.functools >= 3.7",
"jaraco.env",
]
dynamic = ["version"]

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

# local
"nbformat",
"pygments",
"jaraco.path",
"jaraco.test >= 5.3",
"flit-core",
]
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/pip-run"

[project.scripts]
pip-run = "pip_run:run"
py-modules = ["pip-run"]

[tool.setuptools.packages.find]
exclude = [
# duplicate exclusions for pypa/setuptools#2688
"docs",
"docs.*",
"tests",
"tests.*",
"examples",
]
namespaces = true

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

This file was deleted.

0 comments on commit 5b759ec

Please sign in to comment.