Reconfigure imports to work with python packaging system.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from threading import Timer, Thread
|
||||
from gpiozero import Servo
|
||||
|
||||
import MotorControl.motorService_pb2 as motorService_pb2
|
||||
import MotorControl.motorService_pb2_grpc as motorService_pb2_grpc
|
||||
from . import motorService_pb2
|
||||
from . import motorService_pb2_grpc
|
||||
|
||||
from MotorControl.gpiozero.motor_session import Motor
|
||||
|
||||
|
||||
0
MotorControl/__init__.py
Normal file
0
MotorControl/__init__.py
Normal file
@@ -1,7 +1,7 @@
|
||||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
||||
import grpc
|
||||
|
||||
import motorService_pb2 as motorService__pb2
|
||||
from . import motorService_pb2 as motorService__pb2
|
||||
|
||||
|
||||
class CarControlStub(object):
|
||||
|
||||
Reference in New Issue
Block a user