Changed python project name and allowed a hack for openpilot to import without installing.

master
Jessy Diamond Exum 2017-06-20 11:27:45 -07:00
parent 6a25791fea
commit dfb69b9e62
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
""" Hack to support openpilot import scheme """
from .panda import Panda, PandaHashMismatchException

View File

@ -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',