Skip to content

Commit

Permalink
Fixed versioning 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesevickery committed Aug 5, 2016
1 parent d3ad05e commit e9fc8de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion l293d/l293d.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
pins_in_use = [] # Lists pins in use (all motors)

import version
print('L293D driver version ' + version.num_string)
print('L293D driver version ' + version.num)

try:
import RPi.GPIO as GPIO
Expand Down
4 changes: 1 addition & 3 deletions l293d/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
num = 0.1.1

num_string = str(num)
num = '0.1.1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from distutils.core import setup,Extension
setup(
name = "l293d",
version = version.num_string,
version = version.num,
author = "James Vickery",
author_email = "[email protected]",
description = ("A Python module to drive motors using an L293D via Raspberry Pi GPIO"),
Expand Down

0 comments on commit e9fc8de

Please sign in to comment.