|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=64"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "highdicom" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "High-level DICOM abstractions." |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.6" |
| 11 | +authors = [ |
| 12 | + { name = "Markus D. Herrmann" }, |
| 13 | +] |
| 14 | +maintainers = [ |
| 15 | + { name = "Markus D. Herrmann" }, |
| 16 | +] |
| 17 | +classifiers = [ |
| 18 | + "Development Status :: 4 - Beta", |
| 19 | + "Intended Audience :: Science/Research", |
| 20 | + "License :: OSI Approved :: MIT License", |
| 21 | + "Operating System :: MacOS", |
| 22 | + "Operating System :: Microsoft :: Windows", |
| 23 | + "Operating System :: POSIX :: Linux", |
| 24 | + "Programming Language :: Python :: 3", |
| 25 | + "Programming Language :: Python :: 3.6", |
| 26 | + "Programming Language :: Python :: 3.7", |
| 27 | + "Programming Language :: Python :: 3.8", |
| 28 | + "Programming Language :: Python :: 3.9", |
| 29 | + "Programming Language :: Python :: 3.10", |
| 30 | + "Programming Language :: Python :: 3.11", |
| 31 | + "Programming Language :: Python :: 3.12", |
| 32 | + "Topic :: Multimedia :: Graphics", |
| 33 | + "Topic :: Scientific/Engineering :: Information Analysis", |
| 34 | +] |
| 35 | +dependencies = [ |
| 36 | + "numpy>=1.19", |
| 37 | + "pillow-jpls>=1.0", |
| 38 | + "pillow>=8.3", |
| 39 | + "pydicom>=2.3.0,!=2.4.0", |
| 40 | +] |
| 41 | + |
| 42 | +[project.optional-dependencies] |
| 43 | +libjpeg = [ |
| 44 | + "pylibjpeg-libjpeg>=1.3", |
| 45 | + "pylibjpeg-openjpeg>=1.2", |
| 46 | + "pylibjpeg>=1.4", |
| 47 | +] |
| 48 | +test = [ |
| 49 | + "mypy==0.971", |
| 50 | + "pytest==7.1.2", |
| 51 | + "pytest-cov==3.0.0", |
| 52 | + "pytest-flake8==1.1.1", |
| 53 | + "numpy-stubs @ git+https://github.com/numpy/numpy-stubs@201115370a0c011d879d69068b60509accc7f750", |
| 54 | +] |
| 55 | +docs = [ |
| 56 | + "sphinx-autodoc-typehints==1.17.0", |
| 57 | + "sphinx-pyreverse==0.0.17", |
| 58 | + "sphinx-rtd-theme==1.0.0", |
| 59 | + "sphinxcontrib-autoprogram==0.1.7", |
| 60 | + "sphinxcontrib-websupport==1.2.4", |
| 61 | +] |
| 62 | + |
| 63 | +[project.urls] |
| 64 | +homepage = "https://github.com/imagingdatacommons/highdicom" |
| 65 | +documentation = "https://highdicom.readthedocs.io/" |
| 66 | +repository = "https://github.com/ImagingDataCommons/highdicom.git" |
| 67 | + |
| 68 | +[tool.pytest.ini_options] |
| 69 | +addopts = "--doctest-modules" |
| 70 | +testpaths = ["tests"] |
| 71 | +log_cli_level = "INFO" |
| 72 | + |
| 73 | +[tool.mypy] |
| 74 | +warn_unreachable = true |
| 75 | + |
| 76 | +[[tool.mypy.overrides]] |
| 77 | +module = "mypy-pydicom.*" |
| 78 | +ignore_missing_imports = true |
| 79 | + |
| 80 | +[[tool.mypy.overrides]] |
| 81 | +module = "mypy-PIL.*" |
| 82 | +ignore_missing_imports = true |
0 commit comments