Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 57 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
[project]
name = "ptpython"
version = "3.0.29"
description = "Python REPL build on top of prompt_toolkit"
readme = "README.rst"
authors = [{ name = "Jonathan Slenders" }]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python",
]
requires-python = ">=3.8"
dependencies = [
"appdirs",
"jedi>=0.16.0",
# Use prompt_toolkit 3.0.43, because of `OneStyleAndTextTuple` import.
"prompt_toolkit>=3.0.43,<3.1.0",
"pygments",
]


[project.urls]
Homepage = "https://github.com/prompt-toolkit/ptpython"
Changelog = "https://github.com/prompt-toolkit/ptpython/blob/master/CHANGELOG"
"Bug Tracker" = "https://github.com/prompt-toolkit/ptpython/issues"
"Source Code" = "https://github.com/prompt-toolkit/ptpython"


[project.scripts]
ptpython = "ptpython.entry_points.run_ptpython:run"
ptipython = "ptpython.entry_points.run_ptipython:run"


[project.optional-dependencies]
ptipython = ["ipython"] # For ptipython, we need to have IPython


[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = true
platform = "win32"
strict_equality = true
strict_optional = true


[tool.ruff]
target-version = "py37"
lint.select = [
Expand Down Expand Up @@ -27,9 +79,13 @@ lint.ignore = [
"ptpython/ipython.py" = ["T100"] # Import usage.
"ptpython/repl.py" = ["T201"] # Print usage.
"ptpython/printer.py" = ["T201"] # Print usage.
"tests/run_tests.py" = ["F401"] # Unused imports.


[tool.ruff.lint.isort]
known-first-party = ["ptpython"]
known-third-party = ["prompt_toolkit", "pygments", "asyncssh"]


[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
41 changes: 0 additions & 41 deletions setup.cfg

This file was deleted.

66 changes: 0 additions & 66 deletions setup.py

This file was deleted.

Loading