Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pandacan"
version = "0.0.10"
version = "0.0.11"
description = "Code powering the comma.ai panda"
readme = "README.md"
requires-python = ">=3.11,<3.13" # macOS doesn't work with 3.13 due to pycapnp from opendbc
Expand All @@ -15,9 +15,7 @@ dependencies = [
"libusb1",
"libusb-package",
"opendbc @ git+https://github.com/commaai/opendbc.git@master#egg=opendbc",

# runtime dependency on comma four
#"spidev; platform_system == 'Linux'",
"spidev; platform_system == 'Linux'",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -50,8 +48,21 @@ packages = [
]

[tool.setuptools.package-data]
"panda.board" = ["health.h"]
"panda.board.jungle" = ["jungle_health.h"]
"panda" = [
"SConscript",
"SConstruct",
"board/**/*.c",
"board/**/*.h",
"board/**/*.ld",
"board/**/*.py",
"board/**/*.s",
"board/certs/*",
"board/obj/*.bin.signed",
"board/obj/bootstub.*.bin",
"board/obj/version",
"tests/libpanda/SConscript",
"tests/libpanda/panda.c",
]

[tool.setuptools.package-dir]
panda = "."
Expand Down
2 changes: 1 addition & 1 deletion python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# TODO: remove this on next AGNOS update
pass

__version__ = '0.0.10'
__version__ = '0.0.11'

CANPACKET_HEAD_SIZE = 0x6
DLC_TO_LEN = [0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64]
Expand Down
Loading