Add *paste.filter_factory* entry point

Ceilometermiddleware users don’t need to be exposed to the implementation
details of the middleware. With the entry point they can use the common
syntax to load the middleware :

  [filter:ceilometermiddleware]
  use = egg:ceilometermiddleware#swift

You can learn more about it there : http://pythonpaste.org/deploy/#introduction

Change-Id: I2574f8b3fe9f6eeb447f22a6e6a001c8d8e7cbb6
This commit is contained in:
Romain Soufflet 2015-03-18 16:55:17 +01:00
parent a0997c70e8
commit 3d52e84bb2
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ classifier =
packages =
ceilometermiddleware
[entry_points]
paste.filter_factory =
swift = ceilometermiddleware.swift:filter_factory
[build_sphinx]
source-dir = doc/source
build-dir = doc/build