Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Oct 10, 2024
1 parent 769242f commit 952bce3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 104 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2...3.30)
cmake_minimum_required(VERSION 3.15...3.30)
project(MorphIO VERSION 2.0.0)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
Expand Down Expand Up @@ -37,9 +37,6 @@ set(CMAKE_CXX_FLAGS "${FLAGS}")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if (EXTERNAL_HIGHFIVE)
find_package(HighFive REQUIRED)
endif()
set(MORPHIO_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include/)

add_subdirectory(3rdparty)
Expand Down
32 changes: 27 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[build-system]
requires = [
"scikit-build-core",
"cmake>=3.14",
"pybind11==2.13",
"scikit-build-core>=0.10,<1",
"pybind11>=2.13,<3",
# use h5py's hdf5 install on Windows so we don't have to redistribute hdf5
'h5py; platform_system == "Windows"'
]
build-backend = "scikit_build_core.build"

Expand All @@ -28,20 +29,41 @@ classifiers = [
"Topic :: Scientific/Engineering :: Bio-Informatics",
"License :: OSI Approved :: Apache Software License v2.0",
]
keywords = [
"computational neuroscience",
"morphology",
"neuron",
"neurolucida",
"neuromorphology",
]
dynamic = ["version"]

[project.optional-dependencies]
docs = ["sphinx-bluebrain-theme"]

[project.urls]
Homepage = "https://github.com/BlueBrain/MorphIO"
Repository = "https://github.com/BlueBrain/MorphIO.git"
Documentation = "https://morphio.readthedocs.io/"
Tracker = "https://github.com/BlueBrain/MorphIO/issues"

[tool.scikit-build]
cmake.targets = ["_morphio"]
build.targets = ["_morphio"]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
wheel.packages = [ 'morphio', 'morphio.mut', 'morphio.vasculature' ]
cmake.args = [
"-DHIGHFIVE_EXAMPLES=OFF",
"-DHIGHFIVE_UNIT_TESTS=OFF",
'-DMORPHIO_TESTS=OFF',
"-DMORPHIO_TESTS=OFF",
"-DMorphIO_CXX_WARNINGS=OFF",
"-GNinja",
]
#sdist.include = ["src/some_generated_file.txt"]
#sdist.exclude = [".github"]

[tool.setuptools_scm]
local_scheme = "no-local-version"

[tool.pytest.ini_options]
testpaths = ["tests"]

95 changes: 0 additions & 95 deletions setup.py

This file was deleted.

0 comments on commit 952bce3

Please sign in to comment.