On Thu, Jan 2, 2020 at 5:33 PM Dan Smith via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
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
smb://tower/data/tox_output.txt
Dan,
What I did was to remove the following lines from the setup.py in the chirp.hg file.
elif sys.platform == "win32": win32_build()
I think that is what you wanted.
I executed tox and piped the output it to a file (attached). This definitely got further. It looks like there were some permissions errors during the tests. I don't know if those are normal errors for pep8 or not.
Jim