-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
58 lines (49 loc) · 1.77 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
################################################################
#### poetry config ####
################################################################
[project]
name = "brainscore_core"
version = "2.1.1"
description = ""
authors = []
license = { 'file' = 'LICENSE' }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"tqdm",
"numpy>=1.21,<2.0",
"brainscore-brainio",
"psycopg2-binary", # postgres driver
# submission
"fire",
"peewee",
"pybtex",
"requests",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-check",
"pytest-mock",
"requests-mock"]
[build-system]
requires = [
"setuptools>=65",
"wheel"
]
################################################################
#### mypy type-checking config ####
################################################################
[tool.pytest.ini_options]
markers = [
"memory_intense: tests requiring more memory than is available in the Travis sandbox (currently 3 GB)", # see https://docs.travis-ci.com/user/common-build-problems/#my-build-script-is-killed-without-any-error
"travis_slow: tests running for more than 10 minutes without output (which leads Travis to error)",
"slow: tests leading to runtimes that are not possible on the OpenMind cluster (>1 hour per test)",
"private_access: tests that require access to a private resource, such as assemblies on S3 (note that Travis builds originating from forks can not have private access)",
]
################################################################
#### setuptools packaging config ####
################################################################
[tool.setuptools.package-data]
# include bash files (e.g. 'test_plugin.sh') in package install
"brainscore_core.plugin_management" = ["**"]