created distribution

This commit is contained in:
shrkey
2016-10-04 23:06:04 +01:00
parent 800f849b6b
commit 50c30e6335
8 changed files with 30 additions and 3 deletions

14
MANIFEST Normal file
View 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
View File

@@ -0,0 +1 @@
recursive-include examples *

View File

@@ -1 +1,2 @@
from .darkwater_escape import dw_Motor, dw_Servo, dw_Controller 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

Binary file not shown.

View File

@@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import spidev import spidev
import time import time
import sys import sys
from darkwater_escape.mpu9250 import MPU9250 from darkwater_640 import MPU9250
imu = MPU9250() imu = MPU9250()

View File

@@ -1,5 +1,5 @@
import time 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 ) dw = dw_Controller( addr=0x61 )
m1 = dw.getMotor(1) m1 = dw.getMotor(1)

View File

@@ -1,5 +1,5 @@
import time 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 ) dw = dw_Controller( addr=0x61 )
s1 = dw.getServo(1) s1 = dw.getServo(1)

11
setup.py Normal file
View 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']
)