Skip to content
Open
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
5 changes: 5 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

from .python.constants import McuType, BASEDIR, FW_PATH, USBPACKET_MAX_SIZE # noqa: F401
from .python.spi import PandaSpiException, PandaProtocolMismatch, STBootloaderSPIHandle # noqa: F401
from .python.serial import PandaSerial # noqa: F401
Expand All @@ -11,3 +13,6 @@

# panda body
from .board.body import PandaBody # noqa: F401

# -I include path for e.g. "#include <panda/board/health.h>"
INCLUDE_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
Empty file added py.typed
Empty file.
8 changes: 5 additions & 3 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 Down Expand Up @@ -50,8 +50,10 @@ packages = [
]

[tool.setuptools.package-data]
"panda.board" = ["health.h"]
"panda.board.jungle" = ["jungle_health.h"]
"panda" = ["SConscript", "py.typed"]
"panda.board" = ["**"]
"panda.board.body" = ["**"]
"panda.board.jungle" = ["**"]

[tool.setuptools.package-dir]
panda = "."
Expand Down
Loading