VirtualPhotonics / VTS

Virtual Tissue Simulator
https://virtualphotonics.org
Other
34 stars 9 forks source link

Updates to PowerShell scripts for building zip files #148

Closed lmalenfant closed 4 months ago

lmalenfant commented 5 months ago

Add a PowerShell script to create zip files with the VTS dlls so they can be utilized in the Python scripting project.

Build a zip file for each platform, Windows, Linux and Mac.

Change the other scripts to accommodate this new script and make sure scripts can run independently.

dcuccia commented 5 months ago

Would it be feasible to use Nuget programmatically via pythonnet instead?

dcuccia commented 5 months ago

Assuming the .Net SDK is installed, this could work.

lmalenfant commented 5 months ago

It works for the CSharp scripts but both Scott Prahl and I tried for the Python scripts and were unsuccessful, see this thread https://github.com/VirtualPhotonics/Vts.Scripting.Python/issues/6

dcuccia commented 5 months ago

I see, interesting. Would love to have a hands-off way of using nuget, so that there aren't additional/separate packaging strategies across the different use cases. I might have time to look at this over the weekend, if that's of interest.

lmalenfant commented 5 months ago

That would be great! This has been an open issue on the Python scripting repo since it was created. NuGet worked great for CSharp but not Python.

I even tried using both kernels but the way the NuGet packages are organized meant it needed more configuration.

dcuccia commented 5 months ago

Sorry a little slow, but made some progress over the weekend. Will update soon.