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

silx view: Added Windows installer generation #3548

Merged
merged 3 commits into from
Nov 16, 2021

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Nov 4, 2021

This PR adds the config file and code to generate a Windows installer for silx view (silx as command line
is also embedded).
The way to handle 2 executable in the same bundle is also updated since pyinstaller fixed an issue on this. It still requires a small hack but it is much better now.

This is copied/adapted from crispy,many thanks to @mretegan!!!
This saved me a lot of time!

@t20100 t20100 added this to the 1.0.0 milestone Nov 4, 2021
@vallsv
Copy link
Contributor

vallsv commented Nov 5, 2021

Sounds good.
Have you packaged it together with h5plugin? This could be really useful.

@t20100
Copy link
Member Author

t20100 commented Nov 5, 2021

CI fails after tests pass (see #3553)

@mretegan
Copy link
Member

mretegan commented Nov 7, 2021

I've built the binary on a Windows 7 VM and installed it on another with Windows 10. Unfortunately, it doesn't work, and I get the following error: "Fatal error detected. Archive not found: C:\Program Files\silx\bootstrap."

@t20100
Copy link
Member Author

t20100 commented Nov 9, 2021

@mretegan
Copy link
Member

Using the binary generated by the CI everything works as expected.

@mretegan
Copy link
Member

btw hdf5plugin is still missing from requirements-dev.txt.

@payno payno merged commit fac26f6 into silx-kit:master Nov 16, 2021
@t20100 t20100 deleted the win-installed branch November 16, 2021 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants