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.

__main__.py 448B

5 years ago
12345678910111213141516
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. # Make the twisted module executable with the default behaviour of
  4. # running twist.
  5. # This is not a docstring to avoid changing the string output of twist.
  6. from __future__ import division, absolute_import
  7. import sys
  8. from pkg_resources import load_entry_point
  9. if __name__ == '__main__':
  10. sys.exit(
  11. load_entry_point('Twisted', 'console_scripts', 'twist')()
  12. )