|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools>=24.2.0", "wheel", "cmake", "ninja"] |
| 2 | +requires = [ |
| 3 | + "scikit-build-core", |
| 4 | + "setuptools_scm>=8", |
| 5 | + "cmake>=3.14", |
| 6 | + "ninja", |
| 7 | + "pybind11", |
| 8 | +] |
| 9 | +build-backend = "scikit_build_core.build" |
| 10 | + |
| 11 | +[project] |
| 12 | +name = "MorphIO" |
| 13 | +description = "A neuron morphology IO library" |
| 14 | +readme = "README.rst" |
| 15 | +requires-python = ">=3.8" |
| 16 | +license = { file = "LICENSE.txt" } |
| 17 | +authors = [ |
| 18 | + { name = "Blue Brain Project, EPFL" }, |
| 19 | +] |
| 20 | +classifiers = [ |
| 21 | + "Development Status :: 2 - Pre-Alpha", |
| 22 | + "Intended Audience :: Education", |
| 23 | + "Intended Audience :: Science/Research", |
| 24 | + "Programming Language :: Python", |
| 25 | + "Programming Language :: Python :: 3", |
| 26 | + "Programming Language :: Python :: 3.9", |
| 27 | + "Programming Language :: Python :: 3.10", |
| 28 | + "Topic :: Scientific/Engineering :: Bio-Informatics", |
| 29 | + "License :: OSI Approved :: Apache Software License v2.0", |
| 30 | +] |
| 31 | +dynamic = ["version"] |
| 32 | +#dependencies = [ |
| 33 | +# "blueetl-core>=0.1.0", |
| 34 | +#] |
| 35 | + |
| 36 | +[tool.setuptools_scm] |
| 37 | +# |
| 38 | +# install_requires=install_requires, |
| 39 | +# extras_require={ |
| 40 | +# 'docs': ['sphinx-bluebrain-theme'], |
| 41 | +# }, |
| 42 | +# url='https://github.com/BlueBrain/MorphIO/', |
| 43 | +# ext_modules=[CMakeExtension('morphio._morphio'), |
| 44 | +# ], |
| 45 | +# cmdclass={'build_ext': CMakeBuild, |
| 46 | +# }, |
| 47 | +# packages=[], |
| 48 | +# license="LGPLv3", |
| 49 | +# zip_safe=False, |
| 50 | +# use_scm_version=True, |
| 51 | +# setup_requires=[ |
| 52 | +# 'setuptools_scm', |
| 53 | +# ], |
| 54 | +# python_requires=">=3.8", |
| 55 | +#) |
| 56 | + |
| 57 | +[tool.scikit-build] |
| 58 | +cmake.targets = ["_morphio"] |
| 59 | +metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" |
| 60 | +wheel.packages = [ 'morphio', 'morphio.mut', 'morphio.vasculature' ] |
| 61 | +cmake.args = [ |
| 62 | + "-DHIGHFIVE_EXAMPLES=OFF", |
| 63 | + "-DHIGHFIVE_UNIT_TESTS=OFF", |
| 64 | + '-DMORPHIO_TESTS=OFF', |
| 65 | + ] |
| 66 | +#sdist.include = ["src/some_generated_file.txt"] |
| 67 | +#sdist.exclude = [".github"] |
3 | 68 |
|
4 | 69 | [tool.pytest.ini_options] |
5 | 70 | testpaths = ["tests"] |
| 71 | + |
| 72 | +#'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, |
| 73 | +#'-DMORPHIO_VERSION_STRING=' + self.distribution.get_version(), |
| 74 | +#'-DPYTHON_EXECUTABLE=' + sys.executable, |
0 commit comments