|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "tmuxp" |
3 | 3 | version = "1.47.0" |
4 | 4 | description = "Session manager for tmux, which allows users to save and load tmux sessions through simple configuration files." |
5 | | -license = "MIT" |
6 | | -authors = ["Tony Narlock <tony@git-pull.com>"] |
| 5 | +requires-python = ">=3.8,<4.0" |
| 6 | +authors = [ |
| 7 | + {name = "Tony Narlock", email = "tony@git-pull.com"} |
| 8 | +] |
| 9 | +license = { text = "MIT" } |
7 | 10 | classifiers = [ |
8 | 11 | "Development Status :: 5 - Production/Stable", |
9 | 12 | "License :: OSI Approved :: MIT License", |
@@ -36,61 +39,94 @@ include = [ |
36 | 39 | { path = "docs", format = "sdist" }, |
37 | 40 | { path = "conftest.py", format = "sdist" }, |
38 | 41 | ] |
| 42 | +dependencies = [ |
| 43 | + "libtmux~=0.37.0", |
| 44 | + "colorama>=0.3.9", |
| 45 | + "PyYAML>=6.0" |
| 46 | +] |
39 | 47 |
|
40 | | -[tool.poetry.urls] |
| 48 | +[project.urls] |
41 | 49 | "Bug Tracker" = "https://github.com/tmux-python/tmuxp/issues" |
42 | 50 | Documentation = "https://tmuxp.git-pull.com" |
43 | 51 | Repository = "https://github.com/tmux-python/tmuxp" |
44 | 52 | Changes = "https://github.com/tmux-python/tmuxp/blob/master/CHANGES" |
45 | 53 |
|
46 | | -[tool.poetry.scripts] |
| 54 | +[project.scripts] |
47 | 55 | tmuxp = 'tmuxp:cli.cli' |
48 | 56 |
|
49 | | -[tool.poetry.dependencies] |
50 | | -python = "^3.8" |
51 | | -libtmux = "~0.37.0" |
52 | | -colorama = ">=0.3.9" |
53 | | -PyYAML = "^6.0" |
54 | | - |
55 | | -[tool.poetry.group.docs.dependencies] |
56 | | -### Docs ### |
57 | | -sphinx = "*" |
58 | | -aafigure = ">=0.6" |
59 | | -pillow = "*" |
60 | | -furo = "*" |
61 | | -gp-libs = "*" |
62 | | -sphinx-autobuild = "*" |
63 | | -sphinx-autodoc-typehints = "*" |
64 | | -sphinx-argparse = "*" |
65 | | -sphinx-inline-tabs = "*" |
66 | | -sphinxext-opengraph = "<0.8" # https://github.com/wpilibsuite/sphinxext-opengraph/issues/100 |
67 | | -sphinx-copybutton = "*" |
68 | | -sphinxext-rediraffe = "*" |
69 | | -myst_parser = ">=0.18.1" |
70 | | -docutils = "*" |
71 | | -linkify-it-py = "*" |
72 | | - |
73 | | -[tool.poetry.group.test.dependencies] |
74 | | -### Testing ### |
75 | | -pytest = "*" |
76 | | -pytest-rerunfailures = "*" |
77 | | -pytest-mock = "*" |
78 | | -pytest-cov = "*" |
79 | | -pytest-watcher = "*" |
80 | | -gp-libs = "~0.0.4" |
| 57 | +[tool.uv] |
| 58 | +dev-dependencies = [ |
| 59 | + # Docs |
| 60 | + "aafigure", |
| 61 | + "pillow", |
| 62 | + "sphinx", |
| 63 | + "furo", |
| 64 | + "gp-libs", |
| 65 | + "sphinx-autobuild", |
| 66 | + "sphinx-autodoc-typehints", |
| 67 | + "sphinx-inline-tabs", |
| 68 | + "sphinxext-opengraph", |
| 69 | + "sphinx-copybutton", |
| 70 | + "sphinxext-rediraffe", |
| 71 | + "myst-parser", |
| 72 | + "linkify-it-py", |
| 73 | + # Testing |
| 74 | + "gp-libs", |
| 75 | + "pytest", |
| 76 | + "pytest-rerunfailures", |
| 77 | + "pytest-mock", |
| 78 | + "pytest-watcher", |
| 79 | + # Coverage |
| 80 | + "codecov", |
| 81 | + "coverage", |
| 82 | + "pytest-cov", |
| 83 | + # Lint |
| 84 | + "ruff", |
| 85 | + "mypy", |
| 86 | + "types-colorama", |
| 87 | + "types-docutils", |
| 88 | + "types-PyYAML", |
| 89 | +] |
81 | 90 |
|
82 | | -[tool.poetry.group.coverage.dependencies] |
83 | | -### Coverage ### |
84 | | -codecov = "*" |
85 | | -coverage = "*" |
| 91 | +[dependency-groups] |
| 92 | +docs = [ |
| 93 | + "aafigure", |
| 94 | + "pillow", |
| 95 | + "sphinx", |
| 96 | + "furo", |
| 97 | + "gp-libs", |
| 98 | + "sphinx-autobuild", |
| 99 | + "sphinx-autodoc-typehints", |
| 100 | + "sphinx-inline-tabs", |
| 101 | + "sphinxext-opengraph", |
| 102 | + "sphinx-copybutton", |
| 103 | + "sphinxext-rediraffe", |
| 104 | + "myst-parser", |
| 105 | + "linkify-it-py", |
| 106 | +] |
| 107 | +testing = [ |
| 108 | + "gp-libs", |
| 109 | + "pytest", |
| 110 | + "pytest-rerunfailures", |
| 111 | + "pytest-mock", |
| 112 | + "pytest-watcher", |
| 113 | +] |
| 114 | +coverage =[ |
| 115 | + "codecov", |
| 116 | + "coverage", |
| 117 | + "pytest-cov", |
| 118 | +] |
| 119 | +lint = [ |
| 120 | + "ruff", |
| 121 | + "mypy", |
| 122 | + "types-colorama", |
| 123 | + "types-docutils", |
| 124 | + "types-PyYAML", |
| 125 | +] |
86 | 126 |
|
87 | | -[tool.poetry.group.lint.dependencies] |
88 | | -### Lint ### |
89 | | -ruff = "*" |
90 | | -mypy = "*" |
91 | | -types-colorama = "*" |
92 | | -types-docutils = "*" |
93 | | -types-PyYAML = "*" |
| 127 | +[build-system] |
| 128 | +requires = ["hatchling"] |
| 129 | +build-backend = "hatchling.build" |
94 | 130 |
|
95 | 131 | [tool.coverage.run] |
96 | 132 | branch = true |
@@ -185,7 +221,3 @@ testpaths = [ |
185 | 221 | filterwarnings = [ |
186 | 222 | "ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::", |
187 | 223 | ] |
188 | | - |
189 | | -[build-system] |
190 | | -requires = ["poetry_core>=1.0.0"] |
191 | | -build-backend = "poetry.core.masonry.api" |
|
0 commit comments