import sys
import pip
from .helpers import get_rhino_ironpython_path

if __name__ == '__main__':
    location = None
    if len(sys.argv) > 1:
        location = sys.argv[1]
    rhino_ironpython_path = get_rhino_ironpython_path(location=location)
    package_name = __package__.split('.')[0]
    pip_cmd = ['install', package_name, '--target="' + rhino_ironpython_path + '"',
               '--upgrade', '--no-binary :all:', '--no-compile', '--ignore-requires-python']
    print('\n\nThis will install ghpythonremote in Rhino IronPython with the command:')
    print('pip ' + ' '.join(pip_cmd))
    pip.main(pip_cmd)

import sys
import pip
import logging
from .helpers import get_rhino_ironpython_path

logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)

if __name__ == '__main__':
    location = None
    if len(sys.argv) > 1:
        location = sys.argv[1]
    rhino_ironpython_path = get_rhino_ironpython_path(location=location)
    package_name = __package__.split('.')[0]
    pip_cmd = ['install', package_name, '--target="' + rhino_ironpython_path + '"',
               '--upgrade', '--no-binary all', '--no-compile', '--ignore-requires-python']
    print('\n\nThis will install ghpythonremote in Rhino IronPython with the command:')
    print('pip ' + ' '.join(pip_cmd))
    pip.main(pip_cmd)

Correct --no-binary option, incorrect formatting in pypi doc
Correct --no-binary option, incorrect formatting in pypi doc

  import sys
  import pip
+ import logging
  from .helpers import get_rhino_ironpython_path
+ 
+ logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
  
  if __name__ == '__main__':
      location = None
      if len(sys.argv) > 1:
          location = sys.argv[1]
      rhino_ironpython_path = get_rhino_ironpython_path(location=location)
      package_name = __package__.split('.')[0]
      pip_cmd = ['install', package_name, '--target="' + rhino_ironpython_path + '"',
-                '--upgrade', '--no-binary :all:', '--no-compile', '--ignore-requires-python']
+                '--upgrade', '--no-binary all', '--no-compile', '--ignore-requires-python']
      print('\n\nThis will install ghpythonremote in Rhino IronPython with the command:')
      print('pip ' + ' '.join(pip_cmd))
      pip.main(pip_cmd)
  
Correct --no-binary option, incorrect formatting in pypi doc
## Code Before:
import sys
import pip
from .helpers import get_rhino_ironpython_path

if __name__ == '__main__':
    location = None
    if len(sys.argv) > 1:
        location = sys.argv[1]
    rhino_ironpython_path = get_rhino_ironpython_path(location=location)
    package_name = __package__.split('.')[0]
    pip_cmd = ['install', package_name, '--target="' + rhino_ironpython_path + '"',
               '--upgrade', '--no-binary :all:', '--no-compile', '--ignore-requires-python']
    print('\n\nThis will install ghpythonremote in Rhino IronPython with the command:')
    print('pip ' + ' '.join(pip_cmd))
    pip.main(pip_cmd)

## Instruction:
Correct --no-binary option, incorrect formatting in pypi doc
## Code After:
import sys
import pip
import logging
from .helpers import get_rhino_ironpython_path

logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)

if __name__ == '__main__':
    location = None
    if len(sys.argv) > 1:
        location = sys.argv[1]
    rhino_ironpython_path = get_rhino_ironpython_path(location=location)
    package_name = __package__.split('.')[0]
    pip_cmd = ['install', package_name, '--target="' + rhino_ironpython_path + '"',
               '--upgrade', '--no-binary all', '--no-compile', '--ignore-requires-python']
    print('\n\nThis will install ghpythonremote in Rhino IronPython with the command:')
    print('pip ' + ' '.join(pip_cmd))
    pip.main(pip_cmd)
