def run()

in setup.py [0:0]


    def run(self):
        print("Running build py command.")
        if not self.dry_run:
            print("Not a dry run, run with build")

            # install cmdstan and compilers, in the default directory for simplicity
            install_stan()

            # build all stan models
            build_stan_models()

        build_py.run(self)