From fc7c75692204895cda7d2966df8c28d9f21667fa Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 7 Jun 2019 15:29:17 -0400
Subject: [PATCH] Get a dropin started

We can put a plugin here later.
---
 setup.cfg                                       |  9 ++++-----
 .../plugins/secureaccesstokenauthorizer.py      | 17 +++++++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)
 create mode 100644 src/twisted/plugins/secureaccesstokenauthorizer.py

diff --git a/setup.cfg b/setup.cfg
index d8c5096..b26f51c 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 0000000..4fa53c2
--- /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.
+"""
-- 
GitLab