"""Wrapper to run setup.py using setuptools."""

if __name__ == '__main__':
    exec('setup.py', dict(__name__='__main__',
                          __file__='setup.py',  # needed in setup.py
                          force_setuptools=True))

"""Wrapper to run setup.py using setuptools."""

if __name__ == '__main__':
    with open('setup.py') as f:
        exec(f.read(), dict(__name__='__main__',
                            __file__='setup.py',  # needed in setup.py
                            force_setuptools=True))

Update call to `exec` to read the file in and execute the code.
Update call to `exec` to read the file in and execute the code.

  """Wrapper to run setup.py using setuptools."""
  
  if __name__ == '__main__':
+     with open('setup.py') as f:
-     exec('setup.py', dict(__name__='__main__',
+         exec(f.read(), dict(__name__='__main__',
-                           __file__='setup.py',  # needed in setup.py
+                             __file__='setup.py',  # needed in setup.py
-                           force_setuptools=True))
+                             force_setuptools=True))
  
Update call to `exec` to read the file in and execute the code.
## Code Before:
"""Wrapper to run setup.py using setuptools."""

if __name__ == '__main__':
    exec('setup.py', dict(__name__='__main__',
                          __file__='setup.py',  # needed in setup.py
                          force_setuptools=True))

## Instruction:
Update call to `exec` to read the file in and execute the code.
## Code After:
"""Wrapper to run setup.py using setuptools."""

if __name__ == '__main__':
    with open('setup.py') as f:
        exec(f.read(), dict(__name__='__main__',
                            __file__='setup.py',  # needed in setup.py
                            force_setuptools=True))
