File: setup.py

package info (click to toggle)
twisted 20.3.0-7%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 25,112 kB
  • sloc: python: 189,423; ansic: 458; makefile: 278; sh: 34; xml: 31
file content (22 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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)