def create_build(self, tarball_url, env=None, app_name=None):
data = {<EOL>'<STR_LIT>': {<EOL>'<STR_LIT:url>': tarball_url<EOL>}<EOL>}<EOL>if env:<EOL><INDENT>data['<STR_LIT>'] = {'<STR_LIT>': env}<EOL><DEDENT>if app_name:<EOL><INDENT>data['<STR_LIT>'] = {'<STR_LIT:name>': app_name}<EOL><DEDENT>return self.api_request('<STR_LIT:POST>', '<STR_LIT>', data=data)<EOL>
Creates an app-setups build. Returns response data as a dict.

        :param tarball_url: URL of a tarball containing an ``app.json``.
        :param env: Dict containing environment variable overrides.
        :param app_name: Name of the Heroku app to create.
        :returns: Response data as a ``dict``.