summaryrefslogtreecommitdiffstats
path: root/external_libs/python/pyzmq-14.7.0/setupegg.py
blob: a1da2807113f16fc04df18937f6c359b5f5c6c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""

import os, sys
import warnings

warnings.warn("setupegg.py is deprecated. Don't use it anymore, it's a bit silly.")

# now, import setuptools and call the actual setup
import setuptools
try:
    execfile('setup.py')
except NameError:
    exec( open('setup.py','rb').read() )