def remove_heroku_files():
 filenames = ['Procfile', 'runtime.txt']
 if ('{{ cookiecutter.use_elasticbeanstalk_experimental }}'.lower() != 'y'):
  filenames.append('requirements.txt')
 for filename in ['Procfile', 'runtime.txt']:
  file_name = os.path.join(PROJECT_DIRECTORY, filename)
  remove_file(file_name)

def remove_heroku_files ( ) : filenames = [ 'Procfile' , 'runtime.txt' ] if ( '{{ cookiecutter.use_elasticbeanstalk_experimental }}' . lower ( ) != 'y' ) : filenames . append ( 'requirements.txt' ) for filename in [ 'Procfile' , 'runtime.txt' ] : file_name = os . path . join ( PROJECT_DIRECTORY , filename ) remove_file ( file_name )
removes files needed for heroku if it isnt going to be used .