diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f6852e4c..63b4a4e3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: platform: [ ubuntu-latest, macos-latest ] - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10"] runs-on: ${{ matrix.platform }} steps: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d778e70a..661541a1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -55,7 +55,7 @@ jobs: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.7' + versionSpec: '3.8' architecture: 'x64' - script: | @@ -84,7 +84,7 @@ jobs: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.7' + versionSpec: '3.8' architecture: 'x64' - script: | diff --git a/pyproject.toml b/pyproject.toml index d525eb86..1b36d1f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,16 +1,15 @@ [build-system] -requires = [ - "setuptools>=60", - "setuptools-scm>=8.0"] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" [project] name = "pylops" authors = [ {name = "Matteo Ravasi", email = "matteoravasi@gmail.com"}, ] -description = "Python library implementing linear operators to allow solving large-scale optimization problems without requiring to explicitly create a dense (or sparse) matrix." +description = "Python library implementing linear operators to allow solving large-scale optimization problems." readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = ["algebra", "inverse problems", "large-scale optimization"] license.file = "LICENSE.md" classifiers = [ @@ -23,13 +22,13 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Topic :: Scientific/Engineering :: Mathematics", ] -dynamic = ["version"] dependencies = [ "numpy >= 1.21.0", "scipy >= 1.4.0", "pylops >= 1.17.0", "setuptools >= 61.2.0", ] +dynamic = ["version"] [project.optional-dependencies] advanced = ["llvmlite", @@ -39,11 +38,3 @@ advanced = ["llvmlite", "scikit-fmm", "spgl1", ] - -[tool.setuptools.packages.find] -where = ["pylops"] -exclude = ["pytests"] -namespaces = false - -[tool.setuptools_scm] -version_file = "pylops/version.py"