diff --git a/poke/materials.py b/poke/materials.py index ef8ac58..88187a7 100644 --- a/poke/materials.py +++ b/poke/materials.py @@ -1,7 +1,6 @@ import numpy as np from scipy.interpolate import interp1d from pathlib import Path -import poke.materials as matdata # Silica == Fused Silica avail_materials = ['Al','Ag', # metals @@ -12,7 +11,7 @@ ] def get_abs_path(file): - fullpth = Path(__file__).parent/'poke'/'material_data'/file + fullpth = Path(__file__).parent/'material_data'/file return fullpth diff --git a/setup.cfg b/setup.cfg index 77ac258..275fe40 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,3 +26,6 @@ install_requires = python_requires = >= 3.8 setup_requires = setuptools_scm +[options.package_data] +poke = material_data/*.csv +