-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
48 lines (41 loc) · 1.45 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
[tool.poetry]
name = "otk"
version = "0.1.2"
description = "Optics Tool Kit"
authors = ["Dane Austin <dane_austin@fastmail.com.au>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/draustin/otk"
[tool.poetry.dependencies]
python = "^3.7"
numpy = "^1.18.4"
numba = "^0.49.1"
pyqt5 = "^5.12"
pyopengl = "^3.1.5"
mathx = "^0.2"
pyyaml = "^5.3.1"
pyfftw = "^0.12.0"
opt_einsum = "^3.2.1"
pyqtgraph_extensions = "^0.5.1"
gizeh = "^0.1.11"
matplotlib = {version = "^3.2.1"}
chardet = "^3.0.4"
# Ideally these would be optional. But I'm getting weird behaviour suggestive of bugs in poetry, so want to keep it simple for now.
# Spyder is currently a pain to install. See https://github.com/python-poetry/poetry/issues/1238. Tried various workarounds
# but the nonhalting dependency resolution it was taking too long and I gave up.
#spyder-kernels = { git = "https://github.com/danieltomasz/spyder-kernels.git", branch = "poetry", optional = false}
#spyder = {version = "^4.1", optional = false}
ipython = {version = "^7.14.0", optional = false}
cairocffi = "^1.1.0"
[tool.poetry.scripts]
view-zmx = 'otk.rt2.cli:view_zmx'
[tool.poetry.dev-dependencies]
pytest = "^5.4.2"
pytest-qt = "^3.3.0"
[tool.dephell.main]
# To generate setup.py, install dephell and then `dephell deps convert`.
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "setuppy", path = "setup.py"}
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"