-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
94 lines (85 loc) · 2.37 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
[build-system]
requires = ["setuptools>=65", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "iop4"
description = "A rewrite of IOP3, a pipeline to work with photometry and polarimetry of optical data from CAHA and OSN."
readme = "README.md"
license = {text = "BSD-3-Clause"}
authors = [
{name = "Juan Escudero Pedrosa", email = "jescudero@iaa.es"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
requires-python = ">=3.11,<3.13"
dependencies = [
"numpy>=1.26.4,<2",
"matplotlib>=3.7.1,<3.10", # See https://github.com/juanep97/iop4/issues/160
"bokeh==3.6.0", # Bokeh version must match the one in iop4api/templates/iop4api/index.html.
"scipy>=1.10.1,<2",
"astropy>=5.2.2,<6",
"astroquery",
"photutils>=1.8.0,<2",
"pandas",
"scikit-learn>=1.2.2,<2",
"scikit-image",
"coloredlogs",
"ipython",
"django<5",
"astrometry>=4.1.2,<5",
"multiprocess>=0.70.14,<1",
"pypandoc",
"termcolor",
"pyyaml<5.4",
"psutil",
]
# need for setuptools_scm, so we derived version from git version control system
dynamic = ["version"]
[project.urls]
repository = "https://github.com/juanep97/iop4"
[project.scripts]
iop4 = "iop4lib.iop4:main"
iop4-night-summary = "iop4lib.iop4_night_summary:main"
[tool.setuptools.packages.find]
include = ["iop4*"]
exclude = ["iop4lib._dev_version"]
[tool.setuptools.package-data]
iop4lib = ["iop4lib/config.example.yaml",
"iop4lib/instruments/dipol_astrometry.yaml",
"iop4lib/utils/host_correction_data.csv"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-django",
"codecov",
"pytest-cov",
]
doc = [
"numpydoc",
"sphinx",
"sphinx<8; python_version<'3.11'", # See PR 127 (issue with new sphinx 8.0.2 and myst_parser 4.0.0 for Python 3.10.9)
"sphinx-automodapi",
"sphinx-mdinclude",
"pydata-sphinx-theme",
"pydata-sphinx-theme<0.15.2; python_version<'3.11'",
"sphinxcontrib-bibtex",
"docutils>=0.20",
"nbsphinx",
"nbstripout",
"jupytext",
"ipykernel",
"sphinx-gallery",
"sphinx-gallery<=0.7.0; python_version<'3.11'", # PR 130, PR 127
"myst-nb",
]
dev = [
"setuptools_scm",
]
all = [
"iop4[doc,test,dev]",
]
[tool.setuptools_scm]
write_to = 'iop4lib/_version.py'