-
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
setup.py
49 lines (43 loc) · 1.19 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# stdlib
import platform
# third party
from setuptools import find_packages
from setuptools import setup
__version__ = "0.3.7"
DATA_FILES = {"img": ["hagrid/img/*.png"], "hagrid": ["*.yml"]}
packages = [
"ascii_magic",
"click>=7.1",
"cryptography>=37.0.2",
"gitpython",
"jinja2",
"names",
"packaging>=21.3",
"paramiko",
"pyOpenSSL>=22.0.0",
"requests",
"rich",
"setuptools",
"virtualenv-api",
"virtualenv",
"PyYAML",
"tqdm",
"gevent==22.10.2",
]
if platform.system().lower() != "windows":
packages.extend(["ansible", "ansible-core"])
# Pillow binary wheels for Apple Silicon on Python 3.8 don't seem to work well
# try using Python 3.9+ for HAGrid on Apple Silicon
setup(
name="hagrid",
description="Happy Automation for Grid",
long_description="HAGrid is the swiss army knife of OpenMined's PySyft and PyGrid.",
long_description_content_type="text/plain",
version=__version__,
author="Andrew Trask <andrew@openmined.org>",
packages=find_packages(),
package_data=DATA_FILES,
install_requires=packages,
include_package_data=True,
entry_points={"console_scripts": ["hagrid = hagrid.cli:cli"]},
)