Skip to content

Commit

Permalink
replace setuptools with other methods
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed May 22, 2024
1 parent 49ad746 commit 7b16b52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
6 changes: 2 additions & 4 deletions graspologic/layouts/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from typing import Any, Optional

import numpy as np
import pkg_resources
from sklearn.preprocessing import minmax_scale

from graspologic.types import Dict, Tuple
Expand All @@ -22,9 +21,8 @@ def _load_thematic_json(path: Optional[str]) -> Tuple[Dict[Any, Any], Dict[Any,
if path is not None and Path(path).is_file():
colors_path = path
else:
atexit.register(pkg_resources.cleanup_resources)
include_path = pkg_resources.resource_filename(__package__, "include")
colors_path = os.path.join(include_path, "colors-100.json")
dir = os.path.dirname(__file__)
colors_path = os.path.join(dir, "include", "colors-100.json")

with open(colors_path) as thematic_json_io:
thematic_json = json.load(thematic_json_io)
Expand Down
17 changes: 1 addition & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ scipy = "1.12.0"
statsmodels = "^0.14.2"
typing-extensions = "^4.4.0"
umap-learn = "^0.5.6"
setuptools = "^70.0.0"

[tool.poetry.group.dev.dependencies]
ipykernel = "^6"
Expand Down

0 comments on commit 7b16b52

Please sign in to comment.