forked from argosopentech/argos-translate-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (27 loc) · 924 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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="argostranslategui",
version="1.6.5",
description="Graphical user interface for Argos Translate",
long_description=long_description,
long_description_content_type="text/markdown",
author="Argos Open Technologies, LLC",
author_email="[email protected]",
url="https://www.argosopentech.com",
packages=find_packages(),
install_requires=required_packages,
include_package_data=True,
scripts=["bin/argos-translate-gui"],
app=APP,
data_files=DATA_FILES,
options={"py2app": OPTIONS},
setup_requires=["py2app"],
)