Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.33 KB

dev.rst

File metadata and controls

65 lines (42 loc) · 1.33 KB

Development Notes

Runing tests

The tests can be run by running:

py.test

in the root qcpump directory.

Release Checklist

  • [ ] Tests all passing
  • [ ] docs/release_notes.rst updated
  • [ ] Version updated in:

    • [ ] setup.py
    • [ ] qcpump/settings.py
    • [ ] qcpump-installer.iss
    • [ ] docs/install.rst (link to installer)
  • [ ] Exe built (pyinstaller qcpump.spec)
    • [ ] New data files added to qcpump.spec::data_files
    • [ ] New dependencies added to qcpump.spec::hidden_import
  • [ ] Installer built
    • [ ] Installer comitted to repository
  • [ ] Installer tested
  • [ ] Release tagged git tag -a vX.X.X -m vX.X.X
  • [ ] Push to master with tags git push origin master --tags

Building an exe on Windows

In order to create an executable version of QCPump on Windows you need to install pyinstaller:

pip install pyinstaller

Then run:

pyinstaller qcpump.spec

Building the Installer

  • Install Inno Setup Compiler
  • Build the exe as described above
  • Open qcpump-installer.iss in Inno
  • Update MyAppVersion
  • Build Menu -> Compile (or Ctrl+F9)
  • Test that the installer works and QCPump launches after installation
  • Add the installer to the repository and push.