Skip to content

Make template cookiecutter compatible  #11

@antazoey

Description

@antazoey

Overview

This is just an idea: make this a cookiecutter template: https://cookiecutter.readthedocs.io/en/1.7.2/

I discovered this today when looking into pytest plugins.

Basically, this will fill in all the boilerplate parts of the template via user input and the cookiecutter cli

Specification

$ pip install cookiecutter
$ cookiecutter https://github.com/ApeWorX/project-template
full_name [Raphael Pierzina]: Andreas Pelme
email [raphael@hackebrot.de]: andreas@pelme.se
github_username [hackebrot]: pelme
plugin_name [foobar]: awesome
module_name [awesome]: awesome
short_description [A simple plugin to use with pytest]:
version [0.1.0]:
pytest_version [2.9.1]:
Select docs_tool:
1 - mkdocs
2 - sphinx
3 - none
Choose from 1, 2, 3 [1]: 1
Select license:
1 - MIT
2 - BSD-3
3 - GNU GPL v3.0
Choose from 1, 2, 3 [1]: 2
INFO:post_gen_project:Moving files for mkdocs

(copied from https://github.com/pytest-dev/cookiecutter-pytest-plugin, ours might be a little different)

Dependencies

https://cookiecutter.readthedocs.io/en/1.7.2/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions