GithubHelp home page GithubHelp logo

pyvista / pyvistaqt-exe Goto Github PK

View Code? Open in Web Editor NEW
12.0 11.0 0.0 2.69 MB

Create a Windows installable exe from a PyVistaQt application

License: MIT License

Python 100.00%
3d pyinstaller pyqt pyvista

pyvistaqt-exe's Introduction

PyVistaQt Standalone Application

Create a standalone 3D viewer application with PyVistaQt.

This repository provides a template for creating a Windows executable (.exe) of a standalone PyVistaQt application.

screenshot

Features

  • Bundle assets into the executable
  • Create custom menus and actions
  • Automated building on CI

Locally Build

On any OS, you can create your own standalone application with:

pip install -r requirements.txt
pyinstaller main.spec

The executable will then be located in the dist/main directory. To distribute, you can zip this directory.

Automatized Build

The GitHub Actions workflow here will build the Windows installable executable and upload as an artifact to the workflow run.

This workflow also contains a Release step which will upload the executable in the release on tag. Generate a tag with:

git tag v0.1.0
git push --tags

License

This repository uses the MIT License. Contributions are welcome.

pyvistaqt-exe's People

Contributors

akaszynski avatar banesullivan avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyvistaqt-exe's Issues

Bundle the _internal directory

The current build ships an _internal directory along side the .exe with a lot of DLLs. Is this needed? Can we bundle this in the .exe to have a "single file executable"?

Release artifact upload

It's pretty awesome that we have CI set up to build the Windows .exe executable. We should extent this so that on tags, a release is created and the exe is uploaded as a release artifact.

Update the screenshot

Considering this template is focused on Windows executables, someone with Windows may want to change the screenshot I uploaded from my Mac.

The Mac screenshot might mislead users

Improve upstream UI helpers

from pyvistaqt.utils import _create_menu_bar

We're using some private methods here to help generate a common UI. It'd be good to make sure these are not private methods upstream.

cc @pyvista/pyvistaqt-admin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.