Skip to content

Commit

Permalink
minor: simplify pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Oct 1, 2023
1 parent bdd79d5 commit 40e28cf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
versionSpec: '3.8'
architecture: 'x64'

- script: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
versionSpec: '3.8'
architecture: 'x64'

- script: |
Expand Down
19 changes: 5 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"},
]
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 = [
Expand All @@ -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",
Expand All @@ -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"

0 comments on commit 40e28cf

Please sign in to comment.