From 4bbd0019ca98f0aa10efcc0dc4c6d540ce33605c Mon Sep 17 00:00:00 2001 From: mrava87 Date: Sun, 1 Oct 2023 09:53:32 +0300 Subject: [PATCH] minor: moved metadata to setup.cfg --- pyproject.toml | 43 +--------------------------------------- setup.cfg | 54 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 43 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 90d8e517..727c79dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,45 +1,4 @@ [build-system] 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." -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 diff --git a/setup.cfg b/setup.cfg index 1691b3bc..67636c69 100755 --- a/setup.cfg +++ b/setup.cfg @@ -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 = matteoravasi@gmail.com +maintainer = "Matteo Ravasi" +maintainer_email = matteoravasi@gmail.com +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 @@ -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