-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (62 loc) · 1.43 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
[build-system]
requires = ['setuptools', 'setuptools_scm[toml]>=6.2']
build-backend = 'setuptools.build_meta'
[project]
name = 'giford'
authors = [{name = 'Alex Harding'}]
# unsure if >3.10 is ok, but 3.10.7 works
requires-python = '>=3.10'
description = 'easy image and gif manipulation'
#version = "0.2.0" using setuptools_scm
dynamic = ['version']
license = {file = 'LICENSE.txt'}
dependencies = [
'numpy',
'scikit-image',
'ffmpeg-python',
'setuptools',
'setuptools-scm',
'Pillow'
]
[project.optional-dependencies]
# TODO one day these should be split so dev doesn't require installing all of these
test = [
'pytest',
'pytest-xdist',
'pytest-cov',
]
mypy = [
'mypy',
'types-Pillow'
]
lint = [
'black',
'giford[mypy]',
'pylint',
]
dev = [
'giford[test]',
'giford[lint]'
]
[project.urls]
homepage = 'https://github.com/whale-net/giford'
repository = 'https://github.com/whale-net/giford.git'
[tool.setuptools.packages.find]
where = ['.']
include = ['giford*']
exclude = ['tests*']
namespaces = false # true by default
[tool.setuptools_scm]
write_to = 'giford/_version.py'
# mypy config
[tool.mypy]
disallow_untyped_defs = true
plugins = 'numpy.typing.mypy_plugin'
# supress modules that don't have type hints
# i cba stubs
[[tool.mypy.overrides]]
module = [
'ffmpeg',
'skimage'
]
ignore_missing_imports = true