X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=hooke%2F__init__.py;h=64f309a205e8854fc7a978857c611eb3f9744762;hb=4ed7e9602b43341002b3cf0cb97823f23accadef;hp=7a2af6c25bb6af3d0f5fdef9958d9157e4fd3522;hpb=4b6be288111da77de59038e7bb2a64805b8a5183;p=hooke.git diff --git a/hooke/__init__.py b/hooke/__init__.py index 7a2af6c..64f309a 100644 --- a/hooke/__init__.py +++ b/hooke/__init__.py @@ -1,6 +1,22 @@ -# COPYRIGHT - -"""The hooke module does all the legwork for Hooke_ (BE). +# Copyright (C) 2010 W. Trevor King +# +# 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 +# . + +"""The hooke module does all the legwork for Hooke_. .. _hooke: http://code.google.com/p/hooke/ @@ -10,8 +26,15 @@ 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__ = (1, 0, 0, 'alpha', None, 'Ninken') """Version tuple:: (major, minor, release, type, patch, name) @@ -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')