More changes to make it more standard.

- Rename swift3 to middleware to match the other gholt (defacto)
standard.
- Same thing for version in __init__.py
This commit is contained in:
Chmouel Boudjnah 2012-05-21 13:16:05 +02:00
parent eb624f3332
commit 24339c2ab8
2 changed files with 24 additions and 2 deletions

View File

@ -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))