1#!/usr/bin/env python 2# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- 3# vi: set ft=python sts=4 ts=4 sw=4 et: 4"""Wrapper to run setup.py using setuptools.""" 5 6if __name__ == '__main__': 7 with open('setup.py') as f: 8 exec(f.read(), dict(__name__='__main__', 9 __file__='setup.py', # needed in setup.py 10 force_setuptools=True)) 11