Skip to content

douglasmccormickjr/PyiUpdater

 
 

Repository files navigation

PyPI version Build Status Coverage Status

PyiUpdater

An update framework for managing, signing & uploading your app updates

Documentation

Dev Documentation

Full changelog

Supported Freezers

To Install

Stable:

$ pip install PyiUpdater

Dev:

$ pip install PyiUpdater --pre
S3 & SCP uploaders are available with
$ pip install PyiUpdater[s3]

or

$ pip install PyiUpdater[scp]

Usage:

Start guided setup with pip or setup.py install

$ pyi-cli

Can also be used programmatically

######Click Here To See Example Work Flow

Write your own upload plugin

Use pyiu.uploaders for your plugin namespace

Plugin wiki

Examples available

Support Archive Formats

Only zip and gzipped for now. Constraints being on patch size.

Archive maker utility usage

The filename for an update must include system version in form of mac, win, arm, nix or nix64. For example, FILE1 could be myapp-mac & FILE2 could be mylib-nix.

$ pyi-archiver -h
Usage: pyi-archive -n "My App" -v 1.0.1 FILE [FILE...]
Usage: pyi-archive -i gzip -n "My App" -v 1.0.1 FILE [FILE...]

Options:
  -h, --help            show this help message and exit
  -c ARCHIVER, --archiver=ARCHIVER
                        Type of archive compression to use
  -n NAME, --name=NAME  Name of update
  -v VERSION, --version=VERSION
                        Version # of update. Must have Major.Minor.Patch even if it's 0 eg. 1.1.0
  --keep                Do not delete source file

Archive Patch Tests:

Format - Src - Dst - Patch

7z - 6.5mb - 6.8mb - 6.8mb

bz2 - 6.6mb - 6.8mb - 6.9mb

zip - 6.5mb - 6.8mb - 3.2mb

gz - 6.5mb - 6.8mb - 3.2mb

About

Pyinstaller Update Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 82.7%
  • Python 15.3%
  • JavaScript 1.4%
  • Other 0.6%