diff --git a/swift3/__init__.py b/swift3/__init__.py index d7de1bb3..7ff0416f 100644 --- a/swift3/__init__.py +++ b/swift3/__init__.py @@ -1,2 +1,24 @@ -# -*- encoding: utf-8 -*- -version = "1.0" +# Copyright 2012 OpenStack, LLC. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Static Web Middleware for OpenStack Swift +""" + +__all__ = ['version_info', 'version'] + +#: Version information ``(major, minor, revision)``. +version_info = (1, 0, 0) +#: Version string ``'major.minor.revision'``. +version = '.'.join(map(str, version_info)) diff --git a/swift3/swift3.py b/swift3/middleware.py similarity index 100% rename from swift3/swift3.py rename to swift3/middleware.py