[chirp_devel] Using TOX to test on MS Windows

Dan Smith
Thu Jan 2 14:32:57 PST 2020


> Has this been looked into yet? I'm in to process of replacing my very
> old CHIRP development computer. I've gone through the
> DevelopersWin32Environment setup (writing down all additional steps
> that are needed) and the only thing that doesn't work is the running
> of the the tests using tox. I basically get the same error(s) that
> Eric is getting according to the logs he provided.

Not in depth, but I'm pretty sure it's related to how the setup.py doesn't allow sdist to be performed when on win32, but rather short-circuits to py2exe invocation. Tox is going to want the sdist.

We should probably just remove the py2exe bit from the in-tree setup file to make it more uniform, since my build stuff doesn't really even using it at the moment. I haven't done that yet because I need to be careful that I don't disrupt the ability to do the regular builds in some way and need a bit of time to focus on it and I just haven't yet with the holidays.

In your local tree, you can try removing the "if win32 do special stuff" condition and instead make it do what it would do on linux to see if that gets your further.

--Dan


More information about the chirp_devel mailing list