Skip to content

Commit

Permalink
Remove setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
fealho committed Mar 28, 2024
1 parent 32cbf3a commit f2887bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions copulas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import numpy as np
import pandas as pd
from pkg_resources import iter_entry_points
from importlib.metadata import entry_points

EPSILON = np.finfo(np.float32).eps

Expand Down Expand Up @@ -311,7 +311,7 @@ def _get_addon_target(addon_path_name):
def _find_addons():
"""Find and load all copulas add-ons."""
group = 'copulas_modules'
for entry_point in iter_entry_points(group=group):
for entry_point in entry_points(group=group):
try:
addon = entry_point.load()
except Exception: # pylint: disable=broad-exception-caught
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies = [
"scipy>=1.5.4,<2;python_version<'3.10'",
"scipy>=1.9.2,<2;python_version>='3.10' and python_version<'3.12'",
"scipy>=1.12.0,<2;python_version>='3.12'",
'setuptools<70',
]

[project.urls]
Expand Down

0 comments on commit f2887bf

Please sign in to comment.