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
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
updates:
# Enable version updates for python
- package-ecosystem: "pip"
directory: ".github/scripts/"
directory: "/"
schedule:
interval: "monthly"
labels: ["dependabot"]
Expand Down
3 changes: 1 addition & 2 deletions .github/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ set -e

PYTHON_VERSION=${PYTHON_VERSION:-3.7}

pip install -U -r .github/scripts/requirements.txt
python setup.py develop
pip install -e .[test]
python -m pytest # Run the tests without IPython.
pip install ipython
python -m pytest # Now run the tests with IPython.
Expand Down
9 changes: 0 additions & 9 deletions .github/scripts/requirements.txt

This file was deleted.

69 changes: 69 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "fire"
version = "0.7.1"
description = "A library for automatically generating command line interfaces."
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "David Bieber", email = "dbieber@google.com"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Unix",
]
keywords = ["command", "line", "interface", "cli", "python", "fire", "interactive", "bash", "tool"]
requires-python = ">=3.7"
dependencies = [
"termcolor",
]

[project.urls]
Homepage = "https://github.com/google/python-fire"
Repository = "https://github.com/google/python-fire"

[project.optional-dependencies]
test = [
"setuptools<=80.9.0",
"pip",
"pylint<3.3.7",
"pytest<=8.3.5",
"pytest-pylint<=1.1.2",
"pytest-runner<7.0.0",
"termcolor<3.2.0",
"hypothesis<6.133.0",
"levenshtein<=0.27.1",
]

[tool.setuptools.packages.find]
include = ["fire*"]

[tool.setuptools.package-data]
fire = ["console/*"]

[tool.pytest.ini_options]
addopts = [
"--ignore=fire/test_components_py3.py",
"--ignore=fire/parser_fuzz_test.py"
]

[tool.pytype]
inputs = "."
output = ".pytype"
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

10 changes: 0 additions & 10 deletions setup.cfg

This file was deleted.

85 changes: 0 additions & 85 deletions setup.py

This file was deleted.

Loading