|
1 | | -[tool.robotpy-build.metadata] |
| 1 | +[build-system] |
| 2 | +build-backend = "hatchling.build" |
| 3 | +requires = [ |
| 4 | + "hatchling", |
| 5 | + "hatch-robotpy~=0.2", |
| 6 | +] |
| 7 | + |
| 8 | +[project] |
2 | 9 | name = "robotpy-halsim-ws" |
| 10 | +version = "2025.3.2.2" |
3 | 11 | description = "WPILib simulator websim Extensions" |
4 | | -author = "RobotPy Development Team" |
5 | | -author_email = "robotpy@googlegroups.com" |
6 | | -url = "https://github.com/robotpy/robotpy-halsim-gui" |
| 12 | +authors = [ |
| 13 | + {name = "RobotPy Development Team", email = "robotpy@googlegroups.com"}, |
| 14 | +] |
7 | 15 | license = "BSD-3-Clause" |
8 | | -install_requires = [ |
9 | | - "robotpy-hal==THIS_VERSION", |
10 | | - "robotpy-wpinet==THIS_VERSION", |
| 16 | +dependencies = [ |
| 17 | + "robotpy-native-wpihal==2025.3.2", |
| 18 | + "robotpy-native-wpinet==2025.3.2", |
11 | 19 | ] |
12 | 20 |
|
13 | | -[tool.robotpy-build.metadata.entry_points] |
14 | | -robotpysimext = [ |
15 | | - "ws-server = halsim_ws.server", |
16 | | - "ws-client = halsim_ws.client", |
17 | | -] |
| 21 | +[project.entry-points.robotpysimext] |
| 22 | +ws-server = "halsim_ws.server" |
| 23 | +ws-client = "halsim_ws.client" |
18 | 24 |
|
| 25 | +[project.urls] |
| 26 | +"Source code" = "https://github.com/robotpy/mostrobotpy" |
19 | 27 |
|
20 | | -[build-system] |
21 | | -requires = [ |
22 | | - "robotpy-build~=2025.1.0", |
23 | | - "robotpy-hal~=2025.3.2", |
24 | | - "robotpy-wpinet~=2025.3.2", |
25 | | -] |
26 | 28 |
|
27 | | -[tool.robotpy-build] |
28 | | -base_package = "halsim_ws" |
| 29 | +[tool.hatch.build.hooks.robotpy] |
| 30 | +version_file = "halsim_ws/version.py" |
29 | 31 |
|
30 | | -[tool.robotpy-build.wrappers."halsim_ws.server".maven_lib_download] |
| 32 | + |
| 33 | +[[tool.hatch.build.hooks.robotpy.maven_lib_download]] |
31 | 34 | artifact_id = "halsim_ws_server" |
32 | 35 | group_id = "edu.wpi.first.halsim" |
33 | | -# repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
34 | 36 | repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
35 | 37 | version = "2025.3.2" |
| 38 | +use_headers = false |
36 | 39 |
|
37 | | -dlopenlibs = ["halsim_ws_server"] |
38 | | - |
39 | | -[tool.robotpy-build.wrappers."halsim_ws.server"] |
40 | | -name = "server" |
41 | | -depends = ["wpiHal", "wpinet"] |
| 40 | +extract_to = "halsim_ws/server" |
| 41 | +libs = ["halsim_ws_server"] |
42 | 42 |
|
43 | | -[tool.robotpy-build.wrappers."halsim_ws.client".maven_lib_download] |
| 43 | +[[tool.hatch.build.hooks.robotpy.maven_lib_download]] |
44 | 44 | artifact_id = "halsim_ws_client" |
45 | 45 | group_id = "edu.wpi.first.halsim" |
46 | | -# repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
47 | 46 | repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
48 | 47 | version = "2025.3.2" |
| 48 | +use_headers = false |
49 | 49 |
|
50 | | -dlopenlibs = ["halsim_ws_client"] |
| 50 | +extract_to = "halsim_ws/client" |
| 51 | +libs = ["halsim_ws_client"] |
51 | 52 |
|
52 | | -[tool.robotpy-build.wrappers."halsim_ws.client"] |
53 | | -name = "client" |
54 | | -depends = ["wpiHal", "wpinet", "wpiutil"] |
55 | 53 |
|
| 54 | +[tool.hatch.build.targets.wheel] |
| 55 | +packages = ["halsim_ws"] |
0 commit comments