Skip to content

Commit 3b3c284

Browse files
authored
Merge pull request #91 from robotpy/hatchling
Migrate to hatchling
2 parents d28b654 + 3394494 commit 3b3c284

File tree

3 files changed

+38
-24
lines changed

3 files changed

+38
-24
lines changed

.github/workflows/dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
ci:
14-
uses: robotpy/build-actions/.github/workflows/package-pure.yml@v2025
14+
uses: robotpy/build-actions/.github/workflows/package-pure.yml@v2026
1515
with:
1616
enable_sphinx_check: false
1717
secrets:
@@ -27,7 +27,7 @@ jobs:
2727
python-version: "3.13"
2828
- name: Install requirements
2929
run: |
30-
pip --disable-pip-version-check install mypy setuptools wheel setuptools_scm
30+
pip --disable-pip-version-check install mypy hatchling hatch-vcs editables
3131
pip --disable-pip-version-check install --no-build-isolation -e .
3232
- name: Run mypy
3333
uses: liskin/gh-problem-matcher-wrap@v2

pyproject.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[build-system]
2+
requires = ["hatchling", "hatch-vcs"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "robotpy-commands-v2"
7+
dynamic = ["version"]
8+
description = "WPILib command framework v2"
9+
readme = "README.md"
10+
requires-python = ">=3.10"
11+
license = "BSD-3-Clause"
12+
license-files = ["LICENSE"]
13+
dependencies = [
14+
"wpilib<2027,>=2026.1.1b1",
15+
"typing_extensions>=4.1.0,<5",
16+
]
17+
18+
[[project.authors]]
19+
name = "RobotPy Development Team"
20+
21+
22+
[[project.maintainers]]
23+
name = "RobotPy Development Team"
24+
25+
26+
[project.urls]
27+
"Source code" = "https://github.com/robotpy/robotpy-commands-v2"
28+
29+
[tool.hatch.version]
30+
source = "vcs"
31+
32+
[tool.hatch.build.targets.sdist]
33+
packages = ["commands2"]
34+
35+
[tool.hatch.build.targets.wheel]
36+
packages = ["commands2"]

setup.py

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

0 commit comments

Comments
 (0)