Skip to content

Commit

Permalink
minor: moved metadata to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Oct 1, 2023
1 parent d332e63 commit 4bbd001
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 43 deletions.
43 changes: 1 addition & 42 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,45 +1,4 @@
[build-system]
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."
readme = "README.md"
requires-python = ">=3.8"
keywords = ["algebra", "inverse problems", "large-scale optimization"]
license.file = "LICENSE.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"numpy >= 1.21.0",
"scipy >= 1.4.0",
]
dynamic = ["version", ]

[project.optional-dependencies]
advanced = ["llvmlite",
"numba",
"pyfftw",
"PyWavelets",
"scikit-fmm",
"spgl1",
]

[tool.setuptools.packages.find]
exclude = ["pytests"]
namespaces = false

[tool.setuptools_scm]
version_file = "pylops/version.py"
x
54 changes: 53 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,56 @@
[metadata]
name = pylops
fullname = PyLops
description = Python library implementing linear operators to allow solving large-scale optimization problems
long_description = file: README.md
long_description_content_type = text/markdown
author = The PyLops Development Team
author_email = [email protected]
maintainer = "Matteo Ravasi"
maintainer_email = [email protected]
license = LGPL-3.0 License
license_file = LICENSE.md
platform = any
keywords = algebra, inverse problems, large-scale optimization
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Intended Audience :: Science/Research
Intended Audience :: Education
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3),
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering : Mathematics
url = https://github.com/pylops/pylops

project_urls =
Documentation = https://pylops.readthedocs.io/
Release Notes = https://github.com/pylops/pylops/releases
Bug Tracker = https://github.com/pylops/pylops/issues
Source Code = https://github.com/pylops/pylops

[options]
zip_safe = True
include_package_data = True
packages = find:
python_requires = >=3.8
install_requires =
numpy >= 1.21.0
scipy >= 1.4.0

[options.extras_require]
advanced =
llvmlite
numba
pyfftw
PyWavelets
scikit-fmm
spgl1

[aliases]
test=pytest

Expand All @@ -11,7 +64,6 @@ per-file-ignores =
__init__.py: F401, F403, F405
max-line-length = 88


# mypy global options
[mypy]
plugins = numpy.typing.mypy_plugin
Expand Down

0 comments on commit 4bbd001

Please sign in to comment.