created distribution
This commit is contained in:
14
MANIFEST
Normal file
14
MANIFEST
Normal file
@@ -0,0 +1,14 @@
|
||||
# file GENERATED by distutils, do NOT edit
|
||||
setup.py
|
||||
darkwater_escape\GPIO.py
|
||||
darkwater_escape\I2C.py
|
||||
darkwater_escape\PCA9685.py
|
||||
darkwater_escape\Platform.py
|
||||
darkwater_escape\SPI.py
|
||||
darkwater_escape\__init__.py
|
||||
darkwater_escape\darkwater_escape.py
|
||||
darkwater_escape\mpu9250.py
|
||||
darkwater_escape\smbus.py
|
||||
examples\escapeimutest.py
|
||||
examples\escapemotortest.py
|
||||
examples\escapeservotest.py
|
||||
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
@@ -0,0 +1 @@
|
||||
recursive-include examples *
|
||||
@@ -1 +1,2 @@
|
||||
from .darkwater_escape import dw_Motor, dw_Servo, dw_Controller
|
||||
from .mpu9250 import MPU9250
|
||||
BIN
dist/darkwater_escape-1.0.0.zip
vendored
Normal file
BIN
dist/darkwater_escape-1.0.0.zip
vendored
Normal file
Binary file not shown.
@@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
import spidev
|
||||
import time
|
||||
import sys
|
||||
from darkwater_escape.mpu9250 import MPU9250
|
||||
from darkwater_640 import MPU9250
|
||||
|
||||
imu = MPU9250()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import time
|
||||
from darkwater_escape.darkwater_escape import dw_Controller, dw_Servo, dw_Motor
|
||||
from darkwater_escape import dw_Controller, dw_Motor
|
||||
|
||||
dw = dw_Controller( addr=0x61 )
|
||||
m1 = dw.getMotor(1)
|
||||
@@ -1,5 +1,5 @@
|
||||
import time
|
||||
from darkwater_escape.darkwater_escape import dw_Controller, dw_Servo, dw_Motor
|
||||
from darkwater_escape import dw_Controller, dw_Servo
|
||||
|
||||
dw = dw_Controller( addr=0x61 )
|
||||
s1 = dw.getServo(1)
|
||||
11
setup.py
Normal file
11
setup.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from distutils.core import setup
|
||||
|
||||
setup(name = 'darkwater_escape',
|
||||
version = '1.0.0',
|
||||
author = 'Team Dark Water',
|
||||
author_email = 'team@darkwater.io',
|
||||
description = 'Library for Dark Water escape board',
|
||||
license = 'MIT',
|
||||
url = 'https://github.com/darkwaterfoundation/darkwater_python_escape',
|
||||
packages = ['darkwater_escape']
|
||||
)
|
||||
Reference in New Issue
Block a user