diff --git a/pyproject.toml b/pyproject.toml index 33a4be4949..b454b1c92f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 @@ -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] @@ -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 = "." diff --git a/python/__init__.py b/python/__init__.py index 4c954b2395..b31a5efef9 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -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]