File: pyproject.toml

package info (click to toggle)
aplpy 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,952 kB
  • sloc: python: 3,739; makefile: 112; sh: 6
file content (106 lines) | stat: -rw-r--r-- 2,794 bytes parent folder | download | duplicates (2)
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
[build-system]
requires = [
    "setuptools>=61.2",
    "setuptools_scm",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "aplpy/version.py"

[project]
name = "APLpy"
authors = [{name = "Thomas Robitaille and Eli Bressert", email = "thomas.robitaille@gmail.com"}]
license = {text = "MIT"}
description = "The Astronomical Plotting Library in Python"
urls = {Homepage = "http://aplpy.github.io"}
requires-python = ">=3.10"
dependencies = [
    "numpy>=1.22",
    "astropy>=5.0",
    "matplotlib>=3.5",
    "reproject>=0.9",
    "pyregion>=2.2",
    "pillow>=9.0",
    "pyavm>=0.9.6",
    "scikit-image>=0.20",
    "shapely>=2.0",
]
dynamic = ["version"]

[project.readme]
file = "README.rst"
content-type = "text/x-rst"

[project.optional-dependencies]
test = [
    "pytest-astropy",
    "pytest-mpl",
]
docs = ["sphinx-astropy"]

[tool.setuptools]
zip-safe = false
license-files = ["LICENSE.md"]
include-package-data = false

[tool.setuptools.packages]
find = {namespaces = false}

[tool.setuptools.package-data]
"*" = ["*.reg", "*.hdr", "*.json"]

[tool.pytest.ini_options]
testpaths = ['"aplpy"', '"docs"']
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst"

[tool.coverage.run]
omit = [
    "aplpy/_astropy_init*",
    "aplpy/conftest.py",
    "aplpy/*setup_package*",
    "aplpy/tests/*",
    "aplpy/*/tests/*",
    "aplpy/extern/*",
    "aplpy/version*",
    "*/aplpy/_astropy_init*",
    "*/aplpy/conftest.py",
    "*/aplpy/*setup_package*",
    "*/aplpy/tests/*",
    "*/aplpy/*/tests/*",
    "*/aplpy/extern/*",
    "*/aplpy/version*",
]

[tool.coverage.report]
exclude_lines = [
    # Have to re-enable the standard pragma
    "pragma: no cover",
    # Don't complain about packages we have installed
    "except ImportError",
    # Don't complain if tests don't hit assertions
    "raise AssertionError",
    "raise NotImplementedError",
    # Don't complain about script hooks
    'def main\(.*\):',
    # Ignore branches that don't pertain to this version of Python
    "pragma: py{ignore_python_version}",
    # Don't complain about IPython completion helper
    "def _ipython_key_completions_",
]

[tool.gilesbot]
    [tool.gilesbot.circleci_artifacts]
        enabled = true
    [tool.gilesbot.circleci_artifacts.py312-test-image-mpl360]
        url = ".tmp/py312-test-image-mpl360/results/fig_comparison.html"
        message = "Click details to see the figure test comparisons, for py312-test-image-mpl360."
        report_on_fail = true

    [tool.gilesbot.circleci_artifacts.py312-test-image-mpldev]
        url = ".tmp/py312-test-image-mpldev/results/fig_comparison.html"
        message = "Click details to see the figure test comparisons for py312-test-image-mpldev."
        report_on_fail = true