mhostetter / gr-adsb

GNU Radio OOT module for demodulating and decoding ADS-B packets
GNU General Public License v3.0
143 stars 43 forks source link

Add a conda recipe, update for Windows and webserver compatibility #54

Open ryanvolz opened 1 year ago

ryanvolz commented 1 year ago

This adds a conda recipe based on the gr_modtool newmod template recipe. It's based on #48 so it can be compatible with the latest GR conda packages. This PR also includes a switch from curses to asciimatics, which is an external dependency (don't love that) but brings Windows compatibility (curses doesn't). This also includes some updates for webserver compatibility with the latest flask-socketio and related packages.

I've tested this by building the packages in CI: https://github.com/ryanvolz/gr-adsb/actions/runs/4671421409. These will packages are now on my anaconda.org channel and will be included in the next release of radioconda.

If you're interested in setting up CI builds based on this recipe, that's a simple change that I can add to this PR.

mhostetter commented 8 months ago

Hi @ryanvolz, sorry for the delayed response. I hesitated to merge #48 because I haven't been able to independently test it. It seems people have been using it though. I will work on getting #48 merged into a new branch, probably maint-3.10.

If you can add any CI here, that would be great too. I'm assuming you're thinking GitHub Actions. Thanks again for the contribution.

ryanvolz commented 8 months ago

No worries! I'll wait for you to get #48 settled and then rebase this, and in the process I'll add the Github Actions CI.

mhostetter commented 8 months ago

Ok, thanks. It should be merged now. Let's rebase off of maint-3.10. Thanks!

ryanvolz commented 8 months ago

Done!

ryanvolz commented 8 months ago

I should note that since gr-adsb doesn't have any compiled code, the CI only has two builds (Linux and Windows) that result in what conda calls "noarch Python" packages. These can be used across platforms and Python versions, except for the fact that Windows is special and so the non-Python files need a slightly different location. So while it doesn't seem like much, the CI artifact packages can be widely used.