Skip to content

Commit 9edb719

Browse files
committed
Remove setup.py and use pyproject.toml
1 parent 65dd896 commit 9edb719

56 files changed

Lines changed: 78 additions & 78 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pyproject.toml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
[project]
2+
name = "invoke"
3+
description = "Pythonic task execution"
4+
readme = "README.rst"
5+
6+
# Don't forget to also update invoke/_version.py!
7+
version = "2.2.0"
8+
9+
license = "BSD-3-Clause"
10+
license-files = [ "LICENSE" ]
11+
authors = [
12+
{ name = "Jeff Forcier", email="jeff@bitprophet.org" },
13+
{ name = "Jaroslav Henner", email = "jaroslav.henner@gmail.com" }
14+
]
15+
requires-python = ">=3.6.2"
16+
classifiers = [
17+
"Development Status :: 5 - Production/Stable",
18+
"Environment :: Console",
19+
"Intended Audience :: Developers",
20+
"Intended Audience :: System Administrators",
21+
"Operating System :: POSIX",
22+
"Operating System :: Unix",
23+
"Operating System :: MacOS :: MacOS X",
24+
"Operating System :: Microsoft :: Windows",
25+
"Programming Language :: Python",
26+
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3 :: Only",
28+
"Programming Language :: Python :: 3.6",
29+
"Programming Language :: Python :: 3.7",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
32+
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
34+
"Topic :: Software Development",
35+
"Topic :: Software Development :: Build Tools",
36+
"Topic :: Software Development :: Libraries",
37+
"Topic :: Software Development :: Libraries :: Python Modules",
38+
"Topic :: System :: Software Distribution",
39+
"Topic :: System :: Systems Administration"
40+
]
41+
42+
[project.urls]
43+
Homepage = "https://pyinvoke.org/"
44+
Docs = "https://docs.pyinvoke.org/"
45+
Repository = "https://github.com/pyinvoke/invoke"
46+
Issues = "https://github.com/pyinvoke/invoke/issues"
47+
Changelog = "https://www.pyinvoke.org/changelog.html"
48+
CI = "https://app.circleci.com/pipelines/github/pyinvoke/invoke"
49+
50+
51+
[build-system]
52+
requires = ["uv_build >= 0.7.19, <0.9.0"]
53+
build-backend = "uv_build"
54+
55+
[project.scripts]
56+
invoke = "invoke.main:program.run"
57+
inv = "invoke.main:program.run"
58+
159
[tool.mypy]
260
# check_untyped_defs = true
361
# follow_imports_for_stubs = true
@@ -50,3 +108,23 @@ ignore_missing_imports = true
50108
[[tool.mypy.overrides]]
51109
module = "pytest_relaxed"
52110
ignore_missing_imports = true
111+
112+
[tool.uv.sources]
113+
invoke = { workspace = true }
114+
115+
[dependency-groups]
116+
dev = [
117+
"alabaster==0.7.12",
118+
"black>=22.8,<22.9",
119+
"coverage>=6.2,<7",
120+
"flake8>=4,<5",
121+
"icecream>=2.1",
122+
"invocations>=3.3",
123+
"invoke",
124+
"mypy==0.971",
125+
"pytest-cov>=4",
126+
"pytest-relaxed>=2",
127+
"releases>=2",
128+
"setuptools>56",
129+
"types-pyyaml==6.0.12.4",
130+
]

setup.py

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)