Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows executable/installer #165

Open
jbnuh opened this issue Dec 20, 2023 · 8 comments
Open

Windows executable/installer #165

jbnuh opened this issue Dec 20, 2023 · 8 comments
Assignees

Comments

@jbnuh
Copy link

jbnuh commented Dec 20, 2023

Making this tool easily deployable by Windows sysadmins will significantly lower barriers to adoption in NHS organisations

@PhilAppleby
Copy link
Collaborator

I'll work on it, need to get hold of a windows machine from somewhere ...

@spco
Copy link

spco commented Jan 3, 2024

@jbnuh What would be the minimum expectations for "easily deployable"? Currently the pip-installable package works on Windows (or at least it did - we don't have any testing on Windows since it was first verified) - see https://hdruk.github.io/CaRROT-Docs/CaRROT-CDM/Installing/ . What are the current barriers to using that route for deployment (I'm guessing availability of Python installs?), and what route would be more viable? Or is it simply a case of making the docs of the Windows install process more detailed?

@PhilAppleby
Copy link
Collaborator

@spco my understanding is that expertise in the installation of Python in NHS settings, which are always use Microsoft environments, can be a problem. Pip install does still work on Windows and Erum has recent experiiemce as far as I'm aware.

@jbnuh
Copy link
Author

jbnuh commented Jan 3, 2024 via email

@PhilAppleby PhilAppleby self-assigned this Jan 17, 2024
@PhilAppleby PhilAppleby changed the title Windows exectuable/installer Windows executable/installer Jan 17, 2024
@jbnuh
Copy link
Author

jbnuh commented Feb 1, 2024

If you need a Windows box to test it on, I am more than happy to oblige

@PhilAppleby
Copy link
Collaborator

The problem is I will need a windows machine to build it - I'm away until the 11th now but I'll get hold of an MS-Windows VM when I get back

@AndyRae
Copy link
Member

AndyRae commented Jul 30, 2024

@PhilAppleby could you use Github actions as a Windows machine to build and release an artefact? https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

But yes setting up a Python environment is significant barrier for NHS orgs.

Would it be possible to package up using
https://pypi.org/project/auto-py-to-exe/
or
https://github.com/pyinstaller/pyinstaller

I have no experience with these - but could investigate

@PhilAppleby
Copy link
Collaborator

@AndyRae, it's more that I have not got around to this yet - I am in the process of setting up a Windows (10) VM on my home Mac desktop, then I'll get it configured to allow me to experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants