Skip to content

Commit

Permalink
remove scipy dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Mather committed Dec 4, 2023
1 parent 0923d06 commit 3d6f646
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ classifiers = [
keywords = ["triangulation", "sphere", "interpolation", "mesh"]
dependencies = [
"numpy>=1.16.0",
"scipy>=1.0.0",
]

[tool.setuptools]
Expand All @@ -52,7 +51,7 @@ packages = [
# version = {attr = "stripy.__version__"}

[project.optional-dependencies]
dev = ["pip-tools", "pytest"]
dev = ["pip-tools", "pytest", "scipy>=1.0.0"]

[project.urls]
Homepage = "https://github.com/underworldcode/stripy"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _minimal_ext_cmd(cmd):
long_description = long_description,
long_description_content_type='text/markdown',
ext_modules = [ext1, ext2, ext3, ext4, ext5],
install_requires = ['numpy>=1.16.0', 'scipy>=1.0.0'],
install_requires = ['numpy>=1.16.0'],
packages = ['stripy'],
package_data = {'stripy': ['Notebooks/*ipynb', # Worked Examples is not currently used
'Notebooks/CartesianTriangulations/*ipynb',
Expand Down
5 changes: 0 additions & 5 deletions stripy/tests/test_0_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ def test_numpy_import():
import numpy
return

def test_scipy_import():
import scipy
print("\t\t You have scipy version {}".format(scipy.__version__))


def test_stripy_modules():
import stripy
from stripy import documentation
Expand Down

0 comments on commit 3d6f646

Please sign in to comment.