|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja", "numpy", "cython", "setuptools-scm"] |
| 2 | +requires = ["scikit-build-core>=0.7", "setuptools-scm", "cython>=0.29", "numpy"] |
| 3 | +build-backend = "scikit_build_core.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "histomicstk" |
| 7 | +description = "A Python toolkit for Histopathology Image Analysis" |
| 8 | +readme = "README.rst" |
| 9 | +authors = [ |
| 10 | + {name = "Kitware, Inc.", email = "developers@digitalslidearchive.net"} |
| 11 | +] |
| 12 | +urls = {Homepage = "https://github.com/DigitalSlideArchive/HistomicsTK"} |
| 13 | +license = {text = "Apache Software License 2.0"} |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "License :: OSI Approved :: Apache Software License", |
| 17 | + "Programming Language :: Python :: 3", |
| 18 | + "Programming Language :: Python :: 3.9", |
| 19 | + "Programming Language :: Python :: 3.10", |
| 20 | + "Programming Language :: Python :: 3.11", |
| 21 | + "Programming Language :: Python :: 3.12", |
| 22 | + "Programming Language :: Python :: 3.13", |
| 23 | + "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| 24 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 25 | +] |
| 26 | +keywords = ["histomicstk"] |
| 27 | +requires-python = ">=3.9" |
| 28 | +dependencies = [ |
| 29 | + "girder-client", |
| 30 | + "nimfa", |
| 31 | + "numpy", |
| 32 | + "scipy", |
| 33 | + "Pillow", |
| 34 | + "pandas", |
| 35 | + "scikit-image", |
| 36 | + "scikit-learn", |
| 37 | + "imageio", |
| 38 | + "shapely", |
| 39 | + "sqlalchemy", |
| 40 | + "matplotlib", |
| 41 | + "pyvips", |
| 42 | + "dask[dataframe]<2024.11.0", |
| 43 | + "distributed", |
| 44 | + "large-image[sources];sys.platform=='linux'", |
| 45 | + "large-image[common];sys.platform!='linux'", |
| 46 | + "large-image-converter;sys.platform=='linux'", |
| 47 | + "girder-slicer-cli-web", |
| 48 | + "ctk-cli", |
| 49 | + "opencv-python-headless", |
| 50 | +] |
| 51 | +dynamic = ["version"] |
| 52 | + |
| 53 | +[project.scripts] |
| 54 | +histomicstk = "histomicstk.cli.__main__:main" |
| 55 | + |
| 56 | +[tool.scikit-build] |
| 57 | +wheel.packages = ["histomicstk"] |
| 58 | +sdist.exclude = ["*.git*"] |
| 59 | +cmake.build-type = "Release" |
| 60 | + |
| 61 | +[tool.setuptools_scm] |
| 62 | +local_scheme = "no-local-version" |
| 63 | +fallback_version = "0.0.0" |
| 64 | + |
| 65 | +[tool.setuptools.package-data] |
| 66 | +"*" = ["*.pyx", "*.pxd"] |
3 | 67 |
|
4 | 68 | [tool.codespell] |
5 | | -# Ref: https://github.com/codespell-project/codespell#using-a-config-file |
6 | 69 | skip = '.git*,*.pdf,*.svg,.pre-commit-config.yaml' |
7 | 70 | check-hidden = true |
8 | 71 | ignore-regex = '(^\s*"image/\S+": ".*)' |
|
0 commit comments