Skip to content

Commit

Permalink
Don't use static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Mar 6, 2024
1 parent a5d6018 commit ae893f3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
uses: robotpy/build-actions/.github/workflows/package-ci.yml@v2024
with:
artifactory_repo_type: vendor
enable_raspbian: false
enable_roborio: false
secrets:
META_REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
RTD_TOKEN: ${{ secrets.RTD_TOKEN }}
Expand Down
22 changes: 20 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,38 @@ requires = [
[tool.robotpy-build]
base_package = "rev"

[tool.robotpy-build.static_libs."revlib_driver".maven_lib_download]
[tool.robotpy-build.wrappers."rev._revlib_driver"]
name = "revlib_driver"
depends = [
"wpiutil",
"wpiHal",
"wpilibc",
]

[tool.robotpy-build.wrappers."rev._revlib_driver".maven_lib_download]
artifact_id = "REVLib-driver"
group_id = "com.revrobotics.frc"
repo_url = "https://maven.revrobotics.com"
version = "2024.2.2"
libs = ["REVLibDriver"]

[tool.robotpy-build.static_libs."revlib".maven_lib_download]
[tool.robotpy-build.wrappers."rev._revlib"]
name = "revlib"
depends = [
"wpiutil",
"wpiHal",
"wpilibc",
"revlib_driver"
]

[tool.robotpy-build.wrappers."rev._revlib".maven_lib_download]
artifact_id = "REVLib-cpp"
group_id = "com.revrobotics.frc"
repo_url = "https://maven.revrobotics.com"
version = "2024.2.2"
libs = ["REVLib"]


[tool.robotpy-build.wrappers."rev"]
name = "rev"
sources = [
Expand Down
Empty file added rev/_revlib/__init__.py
Empty file.
Empty file added rev/_revlib_driver/__init__.py
Empty file.

0 comments on commit ae893f3

Please sign in to comment.