Skip to main content

A template package from iPP eng. GmbH

Project description

Python Project Template

A Python Template to start quickly a new project. Generate doxygen for html and latex (PDF) with single
command in the project directory with the CLI. As well an program (.exe) for Windows can be generated with
a single instruction.

Note: Section Links not working with Pycharm markdown preview.

Getting started

Make sure you have installed python on your machine. If working with vscode, see at the tasks first (ctrl+shit+P -> task). There are some automation scripts in .vscode/scripts to execute several commands. This project and the scripts are optimized for using in a virtual environment (venv). Just run task Run (main.py) and the rest will be done automatically for you (consider notification or desired actions in terminal output).

Use the appropriate task to execute commands in virtual environment, such as pip list or pip install <PACKAGE_NAME>

Project setup (This section is just for template documentation, delete on release)

  1. Setup the PROJECT_NAME in docs/doxyfile

Deploy Project

If the application want to execute from everywhere, you have to generate an executable (.exe) with py2exe.

py2exe

Use py2exe to generate the executable file.
First install py2exe, then run python generate_bin.py from root folder.
This script contains following three steps:

  1. navigate to project's directory with CLI
  2. run python setup.py py2exe -d ./bin

Note: Using py2exe every "folder" (here programs) must be a package. Otherwise py2exe don't include these modules for executable file.


Generate documentation

Run doxygen in docs-folder because relative paths in doxygen-config-file are relative to the directory from which doxygen is run.
Navigate to ./docs and run just doxygen doxyfile

Edit ./docs/doxyfile and change PROJECT_NAME to the desired name.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipptemplate-0.1.22.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

ipptemplate-0.1.22-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page