-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
95 lines (83 loc) · 2.67 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
#########################
# build-system settings #
#########################
[build-system]
requires = [
"cmake>=3.18",
"meson",
"ninja",
"numpy",
"scikit-build>=0.13",
"setuptools",
"setuptools<65; python_version<'3.12'",
"setuptools_scm",
"wheel",
]
####################
# project settings #
####################
[project]
name = "RMextract"
dynamic = ["version"]
description = """\
Extract TEC, vTEC, Earthmagnetic field and Rotation Measures from GPS \
and WMM data for radio interferometry observations \
"""
readme = "README.md"
requires-python = ">=3.7"
authors = [
{ name = "Maaijke Mevius", email = "mevius@astron.nl" },
]
maintainers = [
{ name = "Marcel Loose", email = "loose@astron.nl" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
license = { file = "LICENSE" }
dependencies = [
"astropy",
"importlib-resources; python_version<'3.9'",
"numpy",
"PySocks",
"scipy",
]
[project.optional-dependencies]
lofar-utils = [
# Note that "lofar-utils" also depends on the python bindings to the LOFAR ParmDB.
# Since these have never been published on PyPI, we cannot specify this dependency.
"losoto",
"python-casacore",
]
[project.scripts]
createRMParmdb = "RMextract.LOFAR_TOOLS.createRMParmdb:main [lofar-utils]"
createRMh5parm = "RMextract.LOFAR_TOOLS.createRMh5parm:main [lofar-utils]"
download_IONEX = "RMextract.LOFAR_TOOLS.download_IONEX:main [lofar-utils]"
[project.urls]
Source = "https://github.com/lofar-astron/RMextract"
#########################
# cibuildwheel settings #
#########################
[tool.cibuildwheel]
build = "cp3{7,8,9,10,11,12}-manylinux_x86_64"
build-verbosity = 1
# Minimal test: just ensure we can import the binary extension modules, that
# we can instantiate the main classes, and call a method on these instances
test-command = [
"python -c 'import RMextract.EMM._EMM_Model'",
"python -c 'import RMextract.pyiri._iri'",
"python -c 'import RMextract.pyiriplas._iriplas'",
"python -c 'from RMextract.EMM.EMM import WMM, EMM; WMM().getXYZ(); EMM().getXYZ()'",
"python -c 'from RMextract.pyiri.pyiri import pyiri; pyiri().get_tec()'",
"python -c 'from RMextract.pyiriplas.pyiriplas import pyiriplas; pyiriplas().get_profile(500)'",
]
###########################
# setuptools_scm settings #
###########################
[tool.setuptools_scm]