|
1 | | -[tool.robotpy-build.metadata] |
| 1 | +[build-system] |
| 2 | +build-backend = "hatchling.build" |
| 3 | +requires = [ |
| 4 | + "semiwrap~=0.1", |
| 5 | + "hatch-meson~=0.1.0b2", |
| 6 | + "hatch-robotpy~=0.2", |
| 7 | + "hatchling", |
| 8 | + "robotpy-wpiutil==2025.3.2.2", |
| 9 | + "robotpy-wpimath==2025.3.2.2", |
| 10 | + "robotpy-hal==2025.3.2.2", |
| 11 | + "pyntcore==2025.3.2.2", |
| 12 | +] |
| 13 | + |
| 14 | +[project] |
2 | 15 | name = "robotpy-halsim-gui" |
3 | | -description = "WPILib command framework" |
4 | | -author = "RobotPy Development Team" |
5 | | -author_email = "robotpy@googlegroups.com" |
6 | | -url = "https://github.com/robotpy/robotpy-halsim-gui" |
| 16 | +version = "2025.3.2.2" |
| 17 | +description = "WPILib simulation GUI" |
| 18 | +authors = [ |
| 19 | + {name = "RobotPy Development Team", email = "robotpy@googlegroups.com"}, |
| 20 | +] |
7 | 21 | license = "BSD-3-Clause" |
8 | | -install_requires = [ |
9 | | - "robotpy-wpiutil==THIS_VERSION", |
10 | | - "robotpy-wpimath==THIS_VERSION", |
11 | | - "robotpy-hal==THIS_VERSION", |
12 | | - "pyntcore==THIS_VERSION", |
| 22 | +dependencies = [ |
| 23 | + "robotpy-wpiutil==2025.3.2.2", |
| 24 | + "robotpy-wpimath==2025.3.2.2", |
| 25 | + "robotpy-hal==2025.3.2.2", |
| 26 | + "pyntcore==2025.3.2.2", |
13 | 27 | ] |
14 | 28 |
|
15 | | -[build-system] |
16 | | -requires = [ |
17 | | - "robotpy-build~=2025.1.0", |
18 | | - "robotpy-wpiutil~=2025.3.2", |
19 | | - "robotpy-wpimath~=2025.3.2", |
20 | | - "robotpy-hal~=2025.3.2", |
21 | | - "pyntcore~=2025.3.2", |
22 | | -] |
| 29 | +[project.urls] |
| 30 | +"Source code" = "https://github.com/robotpy/mostrobotpy" |
23 | 31 |
|
24 | | -[tool.robotpy-build] |
25 | | -base_package = "halsim_gui" |
26 | 32 |
|
| 33 | +[tool.hatch.build.hooks.robotpy] |
| 34 | +version_file = "halsim_gui/version.py" |
27 | 35 |
|
28 | | -[tool.robotpy-build.wrappers."halsim_gui".maven_lib_download] |
| 36 | +[[tool.hatch.build.hooks.robotpy.maven_lib_download]] |
29 | 37 | artifact_id = "halsim_gui" |
30 | 38 | group_id = "edu.wpi.first.halsim" |
31 | | -# repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
32 | 39 | repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
33 | 40 | version = "2025.3.2" |
| 41 | +use_headers = true |
| 42 | + |
| 43 | +libs = ["halsim_gui"] |
| 44 | +extract_to = "halsim_gui" |
34 | 45 |
|
35 | | -dlopenlibs = ["halsim_gui"] |
| 46 | +[tool.hatch.build.hooks.semiwrap] |
36 | 47 |
|
37 | | -# TODO: make this a namespace package? |
38 | | -[tool.robotpy-build.wrappers."halsim_gui"] |
39 | | -name = "halsim_gui" |
40 | | -depends = ["wpiutil", "wpiHal", "ntcore", "wpimath_cpp"] |
| 48 | +[tool.hatch.build.hooks.meson] |
41 | 49 |
|
42 | | -[tool.robotpy-build.wrappers."halsim_gui._ext"] |
| 50 | +[tool.hatch.build.targets.wheel] |
| 51 | +packages = ["halsim_gui"] |
| 52 | + |
| 53 | + |
| 54 | +[tool.semiwrap] |
| 55 | +[tool.semiwrap.extension_modules."halsim_gui._ext._halsim_gui_ext"] |
43 | 56 | name = "halsim_gui_ext" |
44 | | -sources = [ |
45 | | - "halsim_gui/_ext/main.cpp" |
46 | | -] |
47 | | -depends = ["wpiutil", "wpiHal", "ntcore", "wpimath_cpp", "halsim_gui"] |
| 57 | +depends = ["wpihal", "wpimath", "ntcore"] |
0 commit comments