-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (75 loc) · 1.95 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
[project]
name = "btpytools"
authors = [{name="Rob Campbell"}]
description="Helper functions for BakingTray and StitchIt"
readme="README.md"
requires-python = ">=3.9.0"
dynamic = ["version"]
license = {text = "GPL-3.0-or-later"} # Can also provide a link with file = (the standard licences have abbreviations)
keywords = ["anatomy","image analysis","data handling"]
classifiers=[
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Image Processing",
"License :: Free for non-commercial use",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research"
]
dependencies = [
"pyyaml",
"types-PyYAML",
"termcolor"
]
[project.urls]
repository = "https://github.com/SWC-Advanced-Microscopy/btpytools"
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# github actions will look in these. these are the tools that we need to work with
# the software but not tools that are needed to run it.
[project.optional-dependencies]
dev = [
"brainreg",
"ipython",
"mypy",
"pytest",
"setuptools_scm",
"black",
"flake8",
"pre-commit"
]
register = [
"brainreg"
]
[tool.black]
target-version = ['py39', 'py310']
skip-string-normalization = false
line-length = 85
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| _build
| build
| dist
)/
)
'''
[tool.mypy]
#Crude way of not getting errors due to brainreg not being imported. Nothing else works
ignore_missing_imports = true
# Finally we define the "entry points" or "console scripts"
[project.scripts]
summariseAcqs="btpytools.summariseAcquisitions:main"
compressRawData="btpytools.compressRawData:main"
transferToServer="btpytools.transferToServer:main"
brainregbt="btpytools.brainreg_bt:main"