-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
157 lines (147 loc) · 4.16 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[project]
name = "psychopy"
dynamic = ["version"]
requires-python = ">=3.8, <3.11"
description = "PsychoPy provides easy, precise, flexible experiments in behavioural sciences"
readme ={file = "README.md", content-type = "text/markdown"}
authors = [
{name = "Open Science Tools Ltd", email = "[email protected]"},
]
maintainers = [
{name = "Open Science Tools Ltd", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
]
dependencies = [
"numpy<2.0", # use numpy<1.24 for psychopy<2023.1
"scipy",
"matplotlib",
"pyglet == 1.4.11; platform_system == \"Windows\"",
"pyglet == 1.5.27; platform_system != \"Windows\"",
"pillow>=9.4.0",
"pyqt6",
"pandas>=1.5.3",
"questplus>=2023.1",
"openpyxl",
"xmlschema",
# for core stimuli
"soundfile",
"imageio",
"imageio-ffmpeg",
"psychtoolbox; platform_machine!='arm64'",
# for iohub
"pywinhook; platform_system == \"Windows\"",
"gevent",
"psutil",
"pyzmq>=22.2.1",
"ujson",
"msgpack",
"msgpack-numpy",
"pyyaml",
# for text formatting
"freetype-py",
"python-bidi",
"arabic-reshaper",
"javascripthon",
"websockets", # new in 2023.2 for session.py
# for the app
"wxPython >= 4.1.1",
"markdown-it-py",
"requests",
"future", # only to support legacy versions in useVersion
# supporting plugins
"pypi-search>=1.2.1",
"setuptools>=75.3.0", # py2app issues https://github.com/ronaldoussoren/py2app/issues/531
# pavlovia connections
"python-gitlab",
"gitpython",
"cryptography", # for sshkeys
# psychoJS conversions
"javascripthon>=0.12",
"astunparse",
"esprima",
"jedi >= 0.16",
# hardware
"pyserial",
"pyparallel; platform_system != \"Darwin\"",
# movie backends
"ffpyplayer",
# platform specific
"python-vlc == 3.0.11115; platform_system == \"Windows\"",
"python-vlc >= 3.0.12118; platform_system != \"Windows\"",
"pypiwin32; platform_system == \"Windows\"",
"pyobjc-core; platform_system == \"Darwin\"",
"pyobjc-framework-Quartz < 8.0; platform_system == \"Darwin\"",
"pyobjc; platform_system == \"Darwin\"",
"zeroconf; platform_system == \"Darwin\"",
"python-xlib; platform_system == \"Linux\"",
"distro; platform_system == \"Linux\"",
'tables!=3.9.2', # 3.9.2 crashes on Rosetta
"packaging>=24.0",
]
[project.optional-dependencies] # This is optional dependencies
tests = [
"pytest>=6.2.5",
"pytest-codecov",
"pytest-cov",
"pytest-asyncio",
"flake8",
"xmlschema",
]
building = [
"bdist-mpkg>=0.5.0; platform_system == \"Darwin\"",
"py2app; platform_system == \"Darwin\"",
"dmgbuild; platform_system == \"Darwin\"",
]
suggested = [
"sounddevice",
"pylsl>=1.16.1", # lab streaming layer for general connectivity
"xlwt", # writing excel files with pandas
"h5py", # to read hdf5 files for analysis
"tobii_research",
"badapted>=0.0.3",
"egi-pynetstation>=0.0.0rc1",
"pyxid2>=1.0.5",
"Phidget22",
]
legacy = [
"pyo>=1.0.3",
"pyglfw",
"moviepy",
"pygame",
]
[project.urls]
Homepage = "https://www.psychopy.org/"
Download = "https://github.com/psychopy/psychopy/releases/"
[project.gui-scripts]
psychopy = "psychopy.app.psychopyApp:main"
[build-system]
requires = [
"pdm-backend",
"distro; platform_system == \"Linux\"",
"tomlkit",
"packaging",
"six", # for configobj
]
build-backend = "pdm.backend"
[tool.pdm.build]
includes = []
excludes = ["building/"]
#source-includes = ["tests/"]
[tool.pdm.version]
source = "call"
getter = "psychopy.__init__:getVersion"
[tool.distutils.bdist_wheel]
universal = 1
[tool.psychopy]
src = ["psychopy"]