from distutils.command.install import install as DistutilsInstall


class MyInstall(DistutilsInstall):

    def run(self):
        do_pre_install_stuff()
DistutilsInstall.run(self)
How can I run a Makefile in setup.py?