Skip to content

Latest commit

 

History

History
101 lines (72 loc) · 3.46 KB

index.rst

File metadata and controls

101 lines (72 loc) · 3.46 KB

PyInstaller hook sample documentation

This package demonstrates defining a library which includes PyInstaller hooks along with tests for those hooks. It is intended to provide a guide for integrating PyInstaller hooks and tests into a package. All source is available on Github. A brief walkthrough:

Contents

.. toctree::
    :maxdepth: 1

    src/pyi_hooksample/__init__.py
    src/pyi_hooksample/__pyinstaller/__init__.py
    tests/test_basic.py
    setup.cfg
    .travis.yml


Installation

From a terminal/command prompt:

  1. Upgrade pip:

    python -m pip install -U pip
    
  2. Install this package with the optional test and docs requirements:

    pip install -e .[test,docs]
    
  3. Run the tests; see also :ref:`notes <run_pyi_tests>` on this:

    python -m PyInstaller.utils.run_tests --include_only pyi_hooksample.
    
  4. Build the docs:

    sphinx-build -d _build/doctrees . _build
    

License

Copyright © 2020 PyInstaller Development Team

This file is part of PyInstaller Hook Sample.

PyInstaller Hook Sample is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

PyInstaller Hook Sample is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PyInstaller Hook Sample. If not, see <http://www.gnu.org/licenses/>.

SPDX-License-Identifier: GPL-3.0-or-later