From c3fe01df954d03839322901fccc43804d31f9f54 Mon Sep 17 00:00:00 2001 From: Alan Jhonn Aguiar Schwyn Date: Tue, 03 Dec 2013 17:00:06 +0000 Subject: new wedo plugin from TurtleBot --- (limited to 'plugins/wedo_plugin/usb/__init__.py') diff --git a/plugins/wedo_plugin/usb/__init__.py b/plugins/wedo_plugin/usb/__init__.py index 8909cf2..178ed14 100644 --- a/plugins/wedo_plugin/usb/__init__.py +++ b/plugins/wedo_plugin/usb/__init__.py @@ -1,8 +1,8 @@ -# Copyright (C) 2009-2011 Wander Lairson Costa -# +# Copyright (C) 2009-2013 Wander Lairson Costa +# # The following terms apply to all files associated # with the software unless explicitly disclaimed in individual files. -# +# # The authors hereby grant permission to use, copy, modify, distribute, # and license this software and its documentation for any purpose, provided # that existing copyright notices are retained in all copies and that this @@ -12,13 +12,13 @@ # and need not follow the licensing terms described here, provided that # the new terms are clearly indicated on the first page of each file where # they apply. -# +# # IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY # FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES # ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY # DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -# +# # THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE @@ -43,13 +43,18 @@ import os __author__ = 'Wander Lairson Costa' +# Use Semantic Versioning, http://semver.org/ +version_info = (1, 0, 0, 'b1') +__version__ = '%d.%d.%d%s' % version_info + + __all__ = ['legacy', 'core', 'backend', 'util'] def _setup_log(): from usb import _debug logger = logging.getLogger('usb') - debug_level = os.getenv('PYUSB_DEBUG_LEVEL') + debug_level = os.getenv('PYUSB_DEBUG') if debug_level is not None: _debug.enable_tracing(True) -- cgit v0.9.1