Skip to content

Commit

Permalink
fix: back to old setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Oct 5, 2023
1 parent d24eb26 commit 149b27f
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 56 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml

This file was deleted.

53 changes: 0 additions & 53 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,56 +1,3 @@
[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 Down
54 changes: 54 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import os

from setuptools import find_packages, setup


def src(pth):
return os.path.join(os.path.dirname(__file__), pth)


# Project description
descr = (
"Python library implementing linear operators to allow solving large-scale optimization "
"problems without requiring to explicitly create a dense (or sparse) matrix."
)

# Setup
setup(
name="pylops",
description=descr,
long_description=open(src("README.md")).read(),
long_description_content_type="text/markdown",
keywords=["algebra", "inverse problems", "large-scale optimization"],
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",
],
author="mrava",
author_email="[email protected]",
install_requires=["numpy >= 1.21.0", "scipy >= 1.4.0"],
extras_require={
"advanced": [
"llvmlite",
"numba",
"pyfftw",
"PyWavelets",
"scikit-fmm",
"spgl1",
]
},
packages=find_packages(exclude=["pytests"]),
use_scm_version=dict(
root=".", relative_to=__file__, write_to=src("pylops/version.py")
),
setup_requires=["pytest-runner", "setuptools_scm"],
test_suite="pytests",
tests_require=["pytest"],
zip_safe=True,
)

0 comments on commit 149b27f

Please sign in to comment.