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)
- 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:
- navigate to project's directory with CLI
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ipptemplate-0.1.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e888e8aacb1bb90ee9b8ba6529bdc9a395675268cf562a21eca8e0be91e8b1d4 |
|
MD5 | 4365f2ece34e21e3e07cb3f0a43d1d9b |
|
BLAKE2b-256 | 036c42f9ef45aa6a08cd589a78eb8fa8d634b0d47419dac446eaf553dabb6d56 |