Skip to content

Commit d1aeee6

Browse files
authored
Updates to 0.21 (#8)
* update versions to avoid segfaults * add dev extras
1 parent 99680f5 commit d1aeee6

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ After these are installed, you may install `curvelops` with:
1515
```bash
1616
export FFTW=/path/to/fftw
1717
export FDCT=/path/to/CurveLab
18-
python3 -m pip install git+https://github.com/PyLops/curvelops@main
18+
python3 -m pip install git+https://github.com/PyLops/curvelops@0.21
1919
```
2020

2121
as long as you are using a `pip>=10.0`. To check, run `python3 -m pip --version`.

curvelops/curvelops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Provides a LinearOperator for the 2D and 3D curvelet transforms.
33
"""
44

5-
__version__ = "0.2"
5+
__version__ = "0.21"
66
__author__ = "Carlos Alberto da Costa Filho"
77

88
from itertools import product

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ""
2828
# The full version, including alpha/beta/rc tags
29-
release = "0.2"
29+
release = "0.21"
3030

3131

3232
# -- General configuration ---------------------------------------------------

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "pybind11==2.6.0"]
2+
requires = [
3+
"setuptools",
4+
"wheel",
5+
"pybind11>=2.6.0; python_version < '3.11'",
6+
"pybind11>=2.10.0; python_version >= '3.11'",
7+
]
38
build-backend = "setuptools.build_meta"
49

510
[tool.isort]

setup.py

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
from pybind11.setup_helpers import Pybind11Extension, build_ext
1616

1717
NAME = "curvelops"
18-
VERSION = "0.2"
18+
VERSION = "0.21"
1919
AUTHOR = "Carlos Alberto da Costa Filho"
2020
AUTHOR_EMAIL = "[email protected]"
21-
URL = "https://github.com/cako/curvelops"
21+
URL = "https://github.com/pylops/curvelops"
2222
DESCRIPTION = "Python wrapper for CurveLab's 2D and 3D curvelet transforms"
2323
LICENSE = "MIT"
2424

@@ -118,22 +118,29 @@
118118
ext_modules=ext_modules,
119119
packages=find_packages(exclude=["pytests"]),
120120
install_requires=[
121-
"numpy",
121+
"numpy>=1.21.0",
122+
"scipy>=1.9.1; python_version >= '3.9'",
122123
"pylops>=2.0",
123-
"scipy",
124124
],
125-
setup_requires=["pybind11"],
125+
setup_requires=[
126+
"pybind11>=2.6.0; python_version < '3.10'",
127+
"pybind11>=2.10.0; python_version >= '3.11'",
128+
],
126129
license=LICENSE,
127130
test_suite="pytests",
128131
tests_require=["pytest"],
129-
python_requires=">=3.6",
132+
extras_require={"dev": ["pytest"]},
133+
python_requires=">=3.7",
130134
classifiers=[
131-
"Development Status :: 3 - Alpha",
135+
"Development Status :: 3 - Beta",
132136
"Intended Audience :: Science/Research",
133137
"License :: OSI Approved :: MIT License",
134138
"Natural Language :: English",
135-
"Programming Language :: Python :: 3.6",
136139
"Programming Language :: Python :: 3.7",
140+
"Programming Language :: Python :: 3.8",
141+
"Programming Language :: Python :: 3.9",
142+
"Programming Language :: Python :: 3.10",
143+
"Programming Language :: Python :: 3.11",
137144
"Topic :: Scientific/Engineering :: Mathematics",
138145
],
139146
keywords="curvelet curvelab pylops",

0 commit comments

Comments
 (0)