<div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">So, I am writing some python scripts that are copied into the dist-packages directory of python.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">However, I am also using python scripts in the FreeSWITCH scripts directory that refer to these python scripts in the dist-packages.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">To re-copy the files, I need to run "sudo python setup_fs.py" each time I make a change.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">However, I also need to restart FreeSWITCH because I don't know of a way to reload the dist-packages used by mod_python.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Any ideas?</div><br><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">PS: This is the project I am referring to: <<a href="https://github.com/kheimerl/libvbts" target="_blank" style="color:rgb(17,85,204)">https://github.com/kheimerl/libvbts</a>></div>
</div>