You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

copyright.py 1.5KB

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