forked from poliastro/poliastro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
157 lines (144 loc) · 3.98 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[build-system]
requires = [
"flit_core >=3.4,<4",
"wheel",
"oldest-supported-numpy",
]
build-backend = "flit_core.buildapi"
[project]
name = "poliastro"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "COPYING"}
authors = [
{name = "Juan Luis Cano Rodríguez", email = "[email protected]"}
]
keywords = [
"aero",
"aerospace",
"engineering",
"astrodynamics",
"orbits",
"kepler",
"orbital mechanics"
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
]
dependencies = [
"astropy >=5.0,<6",
"astroquery >=0.3.9",
"jplephem",
"matplotlib >=2.0,!=3.0.1",
"numba >=0.46 ; python_version<'3.9'",
"numba >=0.53.0 ; python_version>='3.9'",
"numpy",
"pandas",
"plotly >=4.0,<6",
"pyerfa",
"scipy >=1.4.0",
]
dynamic = ["version", "description"]
[project.urls]
Homepage = "https://www.poliastro.space"
Documentation = "https://docs.poliastro.space"
Source = "https://github.com/poliastro/poliastro"
Tracker = "https://github.com/poliastro/poliastro/issues"
Funding = "https://opencollective.com/poliastro"
[project.optional-dependencies]
jupyter = ["notebook", "ipywidgets>=7.6"]
cesium = ["czml3 ~=0.5.3"]
doc = [
"httpx",
"ipython>=5.0",
"ipywidgets>=7.6",
"jupyter-client",
"jupytext",
"myst-parser>=0.13.1",
"nbsphinx>=0.8.6",
"nbconvert>=5.5",
"sgp4",
"sphinx!=3.5,!=4.0,<5.1", # https://github.com/readthedocs/sphinx-hoverxref/issues/119
"sphinx-autoapi",
"sphinx-gallery<=0.7.0", # Just to avoid the jupytext warning
"sphinx_rtd_theme~=1.0.0",
"sphinx-hoverxref==0.7b1",
"sphinx-notfound-page",
"sphinx-copybutton>0.2.9",
"sphinx-github-role~=0.1.0",
]
test = [
"coverage",
"hypothesis",
"import-linter[toml]",
"mypy>=0.740",
"pre-commit",
"pytest>=3.2",
"pytest-cov<2.6.0", # https://github.com/pytest-dev/pytest-cov/issues/222
"pytest-doctestplus>=0.8", # https://github.com/astropy/pytest-doctestplus/issues/118
"pytest-mpl",
"pytest-mypy",
"pytest-remotedata",
"tox",
]
[tool.flit.sdist]
include = [
"src/poliastro/atmosphere/data/coesa62.dat",
"src/poliastro/atmosphere/data/coesa76.dat",
"src/poliastro/atmosphere/data/coesa76_p.dat",
"src/poliastro/atmosphere/data/coesa76_rho.dat",
"setup.cfg"
]
exclude = [
"docs/"
]
[tool.black]
line-length = 79
[tool.isort]
combine_as_imports = true
default_section = "THIRDPARTY"
line_length = 79
profile = "black"
src_paths = ["docs", "src", "tests"]
[tool.mypy]
check_untyped_defs = true
strict_optional = false
ignore_missing_imports = true
[tool.coverage.paths]
source = ["src"]
[tool.coverage.run]
branch = true
source = ["src"]
[tool.coverage.report]
omit = ["contrib/*"]
[tool.importlinter]
# Include Astropy to properly analyze external submodules,
# see https://github.com/seddonym/import-linter/issues/111
root_packages = ["poliastro", "astropy"]
include_external_packages = true
[[tool.importlinter.contracts]]
name = "poliastro.core does not import astropy.units"
type = "forbidden"
source_modules = ["poliastro.core"]
forbidden_modules = ["astropy.units"]
[tool.pytest.ini_options]
norecursedirs = [".git", ".tox", "dist", "build", ".venv"]
testpaths = ["tests"]
python_files ="test_*.py"
doctest_plus = false
addopts = ["--strict-markers"]
markers = ["slow", "remote_data", "filterwarnings", "mpl_image_compare"]