Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make template cookiecutter compatible #11

Open
antazoey opened this issue Oct 1, 2021 · 0 comments
Open

Make template cookiecutter compatible #11

antazoey opened this issue Oct 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@antazoey
Copy link
Member

antazoey commented Oct 1, 2021

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/

@antazoey antazoey added the enhancement New feature or request label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant