__init__.py 609 B

12345678910111213141516171819202122
  1. # -*- test-case-name: twisted.test.test_plugin -*-
  2. # Copyright (c) 2005 Divmod, Inc.
  3. # Copyright (c) Twisted Matrix Laboratories.
  4. # See LICENSE for details.
  5. """
  6. Plugins for services implemented in Twisted.
  7. Plugins go in directories on your PYTHONPATH named twisted/plugins:
  8. this is the only place where an __init__.py is necessary, thanks to
  9. the __path__ variable.
  10. @author: Jp Calderone
  11. @author: Glyph Lefkowitz
  12. """
  13. from typing import List
  14. from twisted.plugin import pluginPackagePaths
  15. __path__.extend(pluginPackagePaths(__name__))
  16. __all__: List[str] = [] # nothing to see here, move along, move along