aburrell / apexpy

A Python wrapper for Apex coordinates
MIT License
34 stars 25 forks source link

Use importlib to track data files #123

Closed ljlamarche closed 1 year ago

ljlamarche commented 1 year ago

Description

This PR transitions to using importlib.resources to keep track of data files instead of paths relative to the source file. This is the new recommended way of managing package data, as shown in this description of packaging data and this example.

Type of change

How Has This Been Tested?

Running unit tests - not fully functional yet.

Test Configuration

Checklist