forked from facebookresearch/Mephisto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
113 lines (99 loc) · 2.57 KB
/
pyproject.toml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[tool.poetry]
name = "mephisto"
version = "1.0.3"
description = "Crowdsourcing made simpler."
license = "MIT"
authors = [
"Jack Urbanek <jju@fb.com>",
"Pratik Ringshia <tikir@fb.com>"
]
readme = "README.md"
homepage = "https://mephisto.ai/"
repository = "https://github.com/facebookresearch/Mephisto"
documentation = "https://mephisto.ai/docs/reference/overview/"
keywords = ["crowdsourcing", "data", "collection", "review"]
classifiers = [
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Natural Language :: English",
]
packages = [
{ include = "mephisto" },
{ include = "hydra_plugins" },
]
include = [
"README.md",
"mephisto/__init__.py",
"mephisto/scripts/metrics/install_metrics.sh",
"mephisto/scripts/metrics/shutdown_metrics.py",
"mephisto/scripts/metrics/view_metrics.py",
"mephisto/scripts/metrics/README.md",
"mephisto/scripts/metrics/resources/*",
]
exclude = [
"**/__pycache__/**/*.*",
"**/.mypy_cache/**/*",
"**/node_modules/*",
"**/node_modules/**/*",
"**/build/*",
"**/build/**/*",
"**/_generated/*",
"**/_generated/**/*",
"mephisto/scripts/metrics/grafana/*",
"mephisto/scripts/metrics/prometheus/*",
]
[tool.poetry.dependencies]
python = "^3.7"
requests = "^2.22"
sh = "^1.12"
hydra-core = "^1.2.0"
tqdm = "^4.50.2"
websockets = "^10.1"
pyyaml = "^5.4.0"
markupsafe = "2.0.1"
# [tool.poetry.group.worker_addons.dependencies]
detoxify = "^0.5.0"
# [tool.poetry.group.aws.dependencies]
boto3 = "^1.17"
botocore = "^1.20.95"
xmltodict = "^0.12.0"
# [tool.poetry.group.cli.dependencies]
click = "^7.0"
click_default_group = "^1.2"
tabulate = "^0.8.7"
rich = "^12.5.1"
rich-click = "^1.5.1"
# [tool.poetry.group.metrics.dependencies]
prometheus-client = "^0.13.1"
# [tool.poetry.group.flask_architect.dependencies]
flask = "^1.1"
gevent-websocket = "^0.10.1"
werkzeug = "^1.0.1"
# [tool.poetry.group.mock_architect.dependencies]
tornado = "^6.0"
# [tool.poetry.group.parlai]
# optional=true
# [tool.poetry.group.parlai.dependencies]
parlai = "^1.6.0"
torch = "^1.4.0"
# [tool.poetry.group.dev.dependencies]
docutils = "^0.15"
mdutils = "^1.4.0"
pdoc = "^10.0.3"
pylint = "^2.4"
pytest = "^5.0"
pytest-cov = "^2.10.1"
mypy = "^0.971.0"
[tool.poetry.scripts]
'mephisto' = 'mephisto.client.cli:cli'
[tool.poetry.extras]
parlai = ["parlai", "torch", "pyyaml"]
[build-system]
requires = [
"poetry>=1.2.0b2",
"poetry-core>=1.1.0a7",
"wheel",
]
build-backend = "poetry.core.masonry.api"
[mypy]
ignore_missing_imports = true