Don't number properties in if count == 1 in gui.panel.propertyeditor.
[hooke.git] / hooke / __init__.py
index 7a2af6c25bb6af3d0f5fdef9958d9157e4fd3522..17c38ce8ca0c457e48d1b2a45ed0c8bb1dac6a25 100644 (file)
@@ -1,6 +1,22 @@
-# COPYRIGHT
-
-"""The hooke module does all the legwork for Hooke_ (BE).
+# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+#
+# This file is part of Hooke.
+#
+# Hooke is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# Hooke is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
+# Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with Hooke.  If not, see
+# <http://www.gnu.org/licenses/>.
+
+"""The hooke module does all the legwork for Hooke_.
 
 .. _hooke: http://code.google.com/p/hooke/
 
@@ -10,6 +26,13 @@ The available submodules are:
 * :mod:`hooke.config`
 * :mod:`hooke.compat`
 """
+try:
+    from .license import LICENSE as __license__
+except ImportError, e:
+    import logging
+    logging.warn('Could not load LICENSE from hooke.license')
+    __license__ = 'All rights reserved.' 
+
 
 __version__ = (0, 9, 0, 'devel', None, 'Kenzo')
 """Version tuple::
@@ -40,7 +63,7 @@ def version(depth=-1, version_tuple=None):
 
     Since I seem to be unable to override __version__ in a Doctest,
     we'll pass the version tuple in as an argument.  You can ignore
-    ``version_tuple``.
+    `version_tuple`.
 
     >>> v = (1, 2, 3, 'devel', '20100501', 'Kenzo')