Skip to content

Commit c6a21e7

Browse files
committed
Reorder pyproject.toml sections
1 parent a83d865 commit c6a21e7

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

pyproject.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
[build-system]
2+
requires = ["setuptools>=60", "wheel", "setuptools_scm>=8.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools]
6+
packages = {find = {include = ["shiny", "shiny.*"]}}
7+
package-data = {shiny = ["py.typed"]}
8+
include-package-data = true
9+
10+
[tool.setuptools_scm]
11+
write_to = "shiny/_version.py"
12+
local_scheme = "no-local-version"
13+
114
[project]
215
name = "shiny"
316
dynamic = ["version"]
@@ -119,14 +132,11 @@ Documentation = "https://shiny.posit.co/py/"
119132
Repository = "https://github.com/posit-dev/py-shiny"
120133
"Bug Tracker" = "https://github.com/posit-dev/py-shiny/issues"
121134

122-
[build-system]
123-
requires = ["setuptools>=60", "wheel", "setuptools_scm>=8.0"]
124-
build-backend = "setuptools.build_meta"
135+
[project.scripts]
136+
shiny = "shiny._main:main"
125137

126-
[tool.setuptools]
127-
packages = {find = {include = ["shiny", "shiny.*"]}}
128-
package-data = {shiny = ["py.typed"]}
129-
include-package-data = true
138+
[project.entry-points.pytest11]
139+
shiny-test = "shiny.pytest._pytest"
130140

131141
[tool.pytest.ini_options]
132142
testpaths = ["tests"]
@@ -138,13 +148,3 @@ ignore = ["E302", "E501", "F403", "F405", "W503", "E203", "E701", "E704"]
138148
[tool.isort]
139149
profile = "black"
140150
skip = ["__init__.py", "typings/", "_dev/", ".venv", "venv", ".tox", "build"]
141-
142-
[project.scripts]
143-
shiny = "shiny._main:main"
144-
145-
[project.entry-points.pytest11]
146-
shiny-test = "shiny.pytest._pytest"
147-
148-
[tool.setuptools_scm]
149-
write_to = "shiny/_version.py"
150-
local_scheme = "no-local-version"

0 commit comments

Comments
 (0)