|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "g" |
3 | 3 | version = "0.0.5" |
4 | 4 | description = "cli command to easily sync current directory" |
5 | | -license = "MIT" |
6 | | -authors = [ "Tony Narlock <[email protected]>"] |
| 5 | +requires-python = ">=3.8,<4.0" |
| 6 | +authors = [ |
| 7 | + { name = "Tony Narlock", email = "[email protected]"} |
| 8 | +] |
| 9 | +license = { text = "MIT" } |
7 | 10 | classifiers = [ |
8 | 11 | "Development Status :: 4 - Beta", |
9 | 12 | "License :: OSI Approved :: MIT License", |
@@ -41,53 +44,85 @@ keywords = [ |
41 | 44 | "update", |
42 | 45 | "libvcs", |
43 | 46 | ] |
44 | | - |
45 | 47 | homepage = "https://g.git-pull.com" |
46 | 48 |
|
47 | | -[tool.poetry.urls] |
| 49 | +[project.urls] |
48 | 50 | "Bug Tracker" = "https://github.com/vcs-python/g/issues" |
49 | 51 | Documentation = "https://g.git-pull.com" |
50 | 52 | Repository = "https://github.com/vcs-python/g" |
51 | 53 | Changes = "https://github.com/vcs-python/g/blob/master/CHANGES" |
52 | 54 |
|
53 | | -[tool.poetry.scripts] |
| 55 | +[project.scripts] |
54 | 56 | g = 'g:run' |
55 | 57 |
|
56 | | -[tool.poetry.dependencies] |
57 | | -python = "^3.8" |
58 | | - |
59 | | -[tool.poetry.group.docs.dependencies] |
60 | | -### Docs ### |
61 | | -sphinx = "*" |
62 | | -furo = "*" |
63 | | -gp-libs = "*" |
64 | | -sphinx-autodoc-typehints = "*" |
65 | | -sphinx-autobuild = "*" |
66 | | -sphinx-inline-tabs = "*" |
67 | | -sphinxext-opengraph = "<0.8" # https://github.com/wpilibsuite/sphinxext-opengraph/issues/100 |
68 | | -sphinx-copybutton = "*" |
69 | | -sphinxext-rediraffe = "*" |
70 | | -myst_parser = ">=0.18.1" |
71 | | -docutils = "*" |
72 | | -linkify-it-py = "*" |
73 | | - |
74 | | -[tool.poetry.group.test.dependencies] |
75 | | -### Testing ### |
76 | | -pytest = "*" |
77 | | -pytest-rerunfailures = "*" |
78 | | -pytest-watcher = "*" |
79 | | -gp-libs = "*" |
| 58 | +[tool.uv] |
| 59 | +dev-dependencies = [ |
| 60 | + # Docs |
| 61 | + "aafigure", |
| 62 | + "pillow", |
| 63 | + "sphinx", |
| 64 | + "furo", |
| 65 | + "gp-libs", |
| 66 | + "sphinx-autobuild", |
| 67 | + "sphinx-autodoc-typehints", |
| 68 | + "sphinx-inline-tabs", |
| 69 | + "sphinxext-opengraph", |
| 70 | + "sphinx-copybutton", |
| 71 | + "sphinxext-rediraffe", |
| 72 | + "sphinx-argparse", |
| 73 | + "myst-parser", |
| 74 | + "linkify-it-py", |
| 75 | + # Testing |
| 76 | + "gp-libs", |
| 77 | + "pytest", |
| 78 | + "pytest-rerunfailures", |
| 79 | + "pytest-mock", |
| 80 | + "pytest-watcher", |
| 81 | + # Coverage |
| 82 | + "codecov", |
| 83 | + "coverage", |
| 84 | + "pytest-cov", |
| 85 | + # Lint |
| 86 | + "ruff", |
| 87 | + "mypy", |
| 88 | +] |
80 | 89 |
|
81 | | -[tool.poetry.group.coverage.dependencies] |
82 | | -### Coverage ### |
83 | | -codecov = "*" |
84 | | -coverage = "*" |
85 | | -pytest-cov = "*" |
| 90 | +[dependency-groups] |
| 91 | +docs = [ |
| 92 | + "aafigure", |
| 93 | + "pillow", |
| 94 | + "sphinx", |
| 95 | + "furo", |
| 96 | + "gp-libs", |
| 97 | + "sphinx-autobuild", |
| 98 | + "sphinx-autodoc-typehints", |
| 99 | + "sphinx-inline-tabs", |
| 100 | + "sphinxext-opengraph", |
| 101 | + "sphinx-copybutton", |
| 102 | + "sphinxext-rediraffe", |
| 103 | + "myst-parser", |
| 104 | + "linkify-it-py", |
| 105 | +] |
| 106 | +testing = [ |
| 107 | + "gp-libs", |
| 108 | + "pytest", |
| 109 | + "pytest-rerunfailures", |
| 110 | + "pytest-mock", |
| 111 | + "pytest-watcher", |
| 112 | +] |
| 113 | +coverage =[ |
| 114 | + "codecov", |
| 115 | + "coverage", |
| 116 | + "pytest-cov", |
| 117 | +] |
| 118 | +lint = [ |
| 119 | + "ruff", |
| 120 | + "mypy", |
| 121 | +] |
86 | 122 |
|
87 | | -[tool.poetry.group.lint.dependencies] |
88 | | -### Lint ### |
89 | | -ruff = "*" |
90 | | -mypy = "*" |
| 123 | +[build-system] |
| 124 | +requires = ["hatchling"] |
| 125 | +build-backend = "hatchling.build" |
91 | 126 |
|
92 | 127 | [tool.mypy] |
93 | 128 | strict = true |
@@ -149,7 +184,3 @@ filterwarnings = [ |
149 | 184 | [tool.pytest-watcher] |
150 | 185 | now = true |
151 | 186 | ignore_patterns = ["*.py.*.py"] |
152 | | - |
153 | | -[build-system] |
154 | | -requires = ["poetry_core>=1.0.0", "setuptools>60"] |
155 | | -build-backend = "poetry.core.masonry.api" |
|
0 commit comments