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

Add example configuration and script to build a windows installer #569

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SamHames
Copy link
Contributor

@SamHames SamHames commented Nov 5, 2021

This is a draft of what a windows installer looks like with pynsist.

I think in principle this could be automated to run on releases, with the built installer attached as an artifact to the release itself.

Things I haven't worked out yet:

  • code signing, to avoid warnings about untrusted developers
  • pynsist requires you specify an entrypoint, which creates a task bar entry, which is definitely odd for a command line program. Maybe that should open a browser and link to the twarc help about running as a command line application?

@igorbrigadir
Copy link
Contributor

This would be great to have!

Maybe the entry point should launch a command prompt? With twarc2 --help or something?

@edsu
Copy link
Member

edsu commented Nov 5, 2021

Have you compared pynsist with PyInstaller? I think the latter would build an executable for other platforms, which might be useful? I ran across PyInstaller in the Webrecorder project, where they built an Electron desktop application that accesses a local version of their Python webapp.

@SamHames
Copy link
Contributor Author

SamHames commented Nov 5, 2021 via email

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

Successfully merging this pull request may close these issues.

3 participants