text: from setuptools import setup, find_packages
  
  with open("requirements.txt") as f:
      required_packages = f.read().splitlines()
  
  with open("README.md") as f:
      long_description = f.read()
  
  # py2app
  APP = ["bin/argos-translate-gui"]
  DATA_FILES = []
  OPTIONS = {"packages": ["sentencepiece"], "iconfile": "argostranslate/img/icon.icns"}
  
  setup(
      name="argostranslate",
      version="1.5.1",
      description="Offline neural machine translation library and GUI.",
      long_description=long_description,
      long_description_content_type="text/markdown",
      author="Argos Open Technologies, LLC",
      author_email="admin@argosopentech.com",
      url="https://www.argosopentech.com",
      packages=find_packages(),
      install_requires=required_packages,
      include_package_data=True,
      scripts=["bin/argos-translate", "bin/argos-translate-gui", "bin/argospm"],
      app=APP,
      data_files=DATA_FILES,
      options={"py2app": OPTIONS},
      setup_requires=["py2app"],
  )
  