diff --git a/setup.cfg b/setup.cfg index d8c509688b32ad44e88736c1179d67a2ab20395d..b26f51c7d2a99651edd8bf75fe8a5ced8069c170 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,9 +23,8 @@ platform = POSIX # dict with a key "" and a value "src". package_dir = =src -# Use the automatic finder to pick up packages. It is configured below. +# Explicitly list our packages because the automatic finder can't deal with +# the plugins package we want to ship. packages = - find: - -[options.packages.find] -where = src + _secureaccesstokenauthorizer + twisted.plugins diff --git a/src/twisted/plugins/secureaccesstokenauthorizer.py b/src/twisted/plugins/secureaccesstokenauthorizer.py new file mode 100644 index 0000000000000000000000000000000000000000..4fa53c24ef8fc0a8de39a99887d180b84bb541f0 --- /dev/null +++ b/src/twisted/plugins/secureaccesstokenauthorizer.py @@ -0,0 +1,17 @@ +# Copyright 2019 PrivateStorage.io, 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. + +""" +A drop-in to supply plugins to the Twisted plugin system. +"""