diff --git a/setup.cfg b/setup.cfg index dedd947..1670268 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,8 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Programming Language :: Python :: Implementation :: CPython Typing :: Typed keywords = diff --git a/src/skhep_testdata/local_files.py b/src/skhep_testdata/local_files.py index 902ea48..58fb414 100644 --- a/src/skhep_testdata/local_files.py +++ b/src/skhep_testdata/local_files.py @@ -1,16 +1,14 @@ from __future__ import annotations -import sys import tempfile import zipfile +from importlib import resources from pathlib import Path import requests from . import data, remote_files -from importlib import resources - __all__ = ("data_path", "download_all", "known_files") diff --git a/src/skhep_testdata/remote_files.py b/src/skhep_testdata/remote_files.py index b32d54b..7286de4 100644 --- a/src/skhep_testdata/remote_files.py +++ b/src/skhep_testdata/remote_files.py @@ -3,15 +3,13 @@ import errno import logging import os -import sys import tarfile +from importlib import resources from typing import ClassVar from urllib.request import urlretrieve import yaml -from importlib import resources - _default_data_dir = os.path.realpath(os.path.dirname(__file__))