From dfb69b9e62fe9952c7c83bb778f865b1be93a2f3 Mon Sep 17 00:00:00 2001 From: Jessy Diamond Exum Date: Tue, 20 Jun 2017 11:27:45 -0700 Subject: [PATCH] Changed python project name and allowed a hack for openpilot to import without installing. --- __init__.py | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index e69de29..6849cc2 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1,3 @@ +""" Hack to support openpilot import scheme """ + +from .panda import Panda, PandaHashMismatchException diff --git a/setup.py b/setup.py index f3c4695..f865c64 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def find_version(*file_paths): raise RuntimeError("Unable to find version string.") setup( - name='panda', + name='pandacan', version=find_version("panda", "__init__.py"), url='https://github.com/commaai/panda', author='Comma.ai',