copyright.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. """
  4. Copyright information for Twisted.
  5. """
  6. __all__ = ["copyright", "disclaimer", "longversion", "version"]
  7. from twisted import __version__ as version, version as _longversion
  8. longversion = str(_longversion)
  9. copyright = """\
  10. Copyright (c) 2001-2024 Twisted Matrix Laboratories.
  11. See LICENSE for details."""
  12. disclaimer = """
  13. Twisted, the Framework of Your Internet
  14. {}
  15. Permission is hereby granted, free of charge, to any person obtaining
  16. a copy of this software and associated documentation files (the
  17. "Software"), to deal in the Software without restriction, including
  18. without limitation the rights to use, copy, modify, merge, publish,
  19. distribute, sublicense, and/or sell copies of the Software, and to
  20. permit persons to whom the Software is furnished to do so, subject to
  21. the following conditions:
  22. The above copyright notice and this permission notice shall be
  23. included in all copies or substantial portions of the Software.
  24. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  25. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  26. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  27. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  28. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  29. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  30. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  31. """.format(
  32. copyright,
  33. )