From 290d8a72ba2161c90652980c9b4c45ac30ad00ef Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Wed, 6 Nov 2024 00:12:29 +0100 Subject: [PATCH] Remove unused build dependencies from `pyproject.toml` --- pyproject.toml | 6 ++---- src/scripts/cmake/CythonExtension.cmake | 7 ------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 40b55c5..fd89a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,10 @@ [build-system] -requires = ['scikit-build-core', 'cython ~=3.0', 'scoring-matrices ~=0.3.0', 'semantic-version ~=2.10'] +requires = ['scikit-build-core', 'cython ~=3.0', 'scoring-matrices ~=0.3.0'] build-backend = "scikit_build_core.build" [project] name = "pyfamsa" -version = "0.6.0" - - +version = "0.5.2" [tool.scikit-build] build-dir = "build/{build_type}" diff --git a/src/scripts/cmake/CythonExtension.cmake b/src/scripts/cmake/CythonExtension.cmake index ce0ee70..2ea8922 100644 --- a/src/scripts/cmake/CythonExtension.cmake +++ b/src/scripts/cmake/CythonExtension.cmake @@ -66,13 +66,6 @@ execute_process( OUTPUT_VARIABLE SCORING_MATRICES_PATH ) -# --- Detect `pyopal` folder --------------------------------------------------- - -execute_process( - COMMAND ${Python_EXECUTABLE} -c "import os; import pyopal; print(os.path.dirname(pyopal.__path__[0]), end='')" - OUTPUT_VARIABLE PYOPAL_PATH -) - # --- Declare Cython extension ------------------------------------------------- macro(cython_extension _name)