class_docstr: Helper to execute `setuptools.setup()`.
class_docstr_tok: ["Helper","to","execute","`","setuptools.setup","(",")","`","."]
docstr: Returns packages needed to install Tensorflow.
docstr_tok: ["Returns","packages","needed","to","install","Tensorflow","."]
code: def _get_tensorflow_packages(self):
      """Returns packages needed to install Tensorflow."""
      if self.release:
          return [launchpad_version.__tensorflow_version__]
      else:
          return [launchpad_version.__nightly_tensorflow_version__]
  
imports: import argparse
  import codecs
  import datetime
  import fnmatch
  import os
  import sys
  from setuptools import setup
  from setuptools.command.install import install
  from setuptools.dist import Distribution
  from version import launchpad_version
label_desc: Use image node_id 4 for calling the SetupToolsHelper obj's underlying member method code with example usage: obj._get_tensorflow_packages() and returns: list, list