old_contents: import os
  import platform
  import shutil
  import subprocess
  
  from flintrock import __version__ as flintrock_version
  
  THIS_DIR = os.path.dirname(os.path.realpath(__file__))
  
  if __name__ == '__main__':
      operating_system = platform.system()
      machine_type = platform.machine()
  
      subprocess.run([
              'pyinstaller',
              '--noconfirm',
              '--name', 'flintrock',
              '--additional-hooks-dir', '.',
              'standalone.py'],
          check=True)
  
      shutil.make_archive(
          base_name=os.path.join(
              THIS_DIR, 'dist',
              'flintrock-{v}-{os}-{m}'.format(
                  v=flintrock_version,
                  os=operating_system,
                  m=machine_type)),
          format='zip',
          root_dir=os.path.join(THIS_DIR, 'dist', 'flintrock'))
  
new_contents: import os
  import platform
  import shutil
  import subprocess
  
  from flintrock import __version__ as flintrock_version
  
  THIS_DIR = os.path.dirname(os.path.realpath(__file__))
  
  if __name__ == '__main__':
      operating_system = platform.system()
      if operating_system.lower() == 'darwin':
          operating_system = 'OSX'
      machine_type = platform.machine()
  
      subprocess.run([
              'pyinstaller',
              '--noconfirm',
              '--name', 'flintrock',
              '--additional-hooks-dir', '.',
              'standalone.py'],
          check=True)
  
      shutil.make_archive(
          base_name=os.path.join(
              THIS_DIR, 'dist',
              'Flintrock-{v}-standalone-{os}-{m}'.format(
                  v=flintrock_version,
                  os=operating_system,
                  m=machine_type)),
          format='zip',
          root_dir=os.path.join(THIS_DIR, 'dist', 'flintrock'))
  
subject: make standalone package names clearer