afonasev / copier-pytup-2022

Short template for workshop on pytup 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copier-pytup-2022

Minimal Copier template for Pytup 2022.

Getting Started

Install Copier and generate a new project:

>>> pipx install copier
>>> copier gh:afonasev/copier-pytup-2022 project

Copier prompts you for information about new project. There you go - you just created a minimal project:

project/
├── project
│   ├── __init__.py
├── tests
│   ├── conftest.py
│   └── test_project.py
├── .gitignore
├── copier.yml
├── LICENSE
├── Makefile
└── README.md

Features

  • Just very simple example of Copier template

Actions

Show help

>>> make help
Usage: make <target>

Targets:
clean            Remove temporary test files
create_test_case Create test cases projects
release          Release new template version (version argument is needed)
test             Test template with test cases

Create test cases projects

>>> make create_test_case

Run tests

>>> make test

Release new template version (version argument is needed)

>>> make release version="1.1"

Resources

Please consult the Copier docs for more information.

Issues

If you encounter any problems, please file an issue along with a detailed description.

License

Distributed under the terms of the MIT license, copier-pytup-2022 is free and open source software.

About

Short template for workshop on pytup 2022

License:MIT License


Languages

Language:Makefile 61.3%Language:Jinja 31.7%Language:Python 7.0%