Skip to content

Commit

Permalink
Merge pull request #71 from robotpy/2024-beta
Browse files Browse the repository at this point in the history
2024 beta
  • Loading branch information
virtuald authored Nov 1, 2023
2 parents 8f3909a + 7d2d42b commit 061b96c
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 469 deletions.
6 changes: 4 additions & 2 deletions robotpy_installer/_pipstub.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import platform
import runpy
import sysconfig
import os
import sys

Expand All @@ -13,9 +14,10 @@
# Setup environment for what the RoboRIO python would have
# -> strictly speaking we only care about platform.machine as that's what
# we're using in robotpy-meta, but the rest for completeness
platform.machine = lambda: "armv7l"
sysconfig.get_platform = lambda: "linux_roborio"
platform.machine = lambda: "roborio"
platform.python_implementation = lambda: "CPython"
platform.system = lambda: "Linux"
platform.python_version = lambda: "3.11.0"
platform.python_version = lambda: "3.12.0"

runpy.run_module("pip", run_name="__main__")
Loading

0 comments on commit 061b96c

Please sign in to comment.