Building with complexpbr

Issues Building with complexpbr

I have used complexpbr in my panda3d application and I am trying to build an exe application.
from setuptools import setup

setup(
    name='maxim',
    install_requires=[
        'complexpbr' 
    ],
    packages=['complexpbr'],
    options={
        'build_apps': {
            'gui_apps': {
                'maxim': 'main.py',
            },
            "icons": {
      
                "maxim": ["maxim.jpg"],
            },

            
            'log_filename': '$USER_APPDATA/Maxim/output.log',
            'log_append': False,
           
            'include_patterns': [
                '**/*.png',
                '**/*.jpg',
                '**/*.egg',
                '**/*.wav',
                '**/*.bam',
                '**/*.mp3',
                '**/*.vert',
                '**/*.frag',
                '**/*.glsl',
                '**/*.prc',
                '**/*.shader',
                 '**/*.egg.pz',
                 '**/*.tif',
                   'maps/*',
                   'Lib/complexpbr/*.vert',  
                    'Lib/complexpbr/*.frag',
            ],

            
            'plugins': [ 'pandagl', 'p3openal_audio', 'p3ffmpeg', 'p3fmod_audio'],           
            'include_modules': {
                '*': ['complexpbr'],                
            },

        }
    }
)

Here is my setup.py file. Whenever i run the app and the line which uses the complexpbr shaders gets called my app crashes below is the output from the log file:

Known pipe types:
  wglGraphicsPipe
(all display modules loaded.)
Traceback (most recent call last):
  File "__main__", line 236, in <module>
  File "__main__", line 38, in __init__
  File "complexpbr", line 177, in apply_shader
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\adeda\\A-level-Coursework\\build\\win_amd64\\Lib\\complexpbr\\ibl_v.vert'

I have complexpbr installed on my machine and the game works properly when i run the python file. How am I meant to build applications that use complexpbr?

I have realized the issue was that my code could not find the shaders for complex pbr I copied the module into a Lib folder and pasted that to the winamd64 folder. It works perfectly now.