#!/usr/bin/env python # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Setuptools installer for Twisted. """ import sys import setuptools if __name__ == "__main__": _setup = {} with open('src/twisted/python/_setup.py') as f: exec(f.read(), _setup) try: setuptools.setup(**_setup["getSetupArgs"]()) except KeyboardInterrupt: sys.exit(1)