Skip to content

Commit

Permalink
Add a project_repository variable
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugouel committed Mar 4, 2019
1 parent 790b991 commit df4138e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"username": "matthieugouel",
"project_name": "Python Package Skeleton",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"project_repository": "{{ cookiecutter.project_slug }}",
"project_short_description": "Python Package Skeleton short description",
"project_version": "0.1.0"
}
13 changes: 6 additions & 7 deletions {{cookiecutter.project_slug}}/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# {{ cookiecutter.project_name }}

[![Release Status](https://img.shields.io/pypi/status/{{ cookiecutter.project_slug }}.svg)](https://pypi.org/project/{{ cookiecutter.project_slug }})
[![Python Version](https://img.shields.io/pypi/pyversions/{{ cookiecutter.project_slug }}.svg)](https://pypi.org/project/{{ cookiecutter.project_slug }})
[![Build Status](https://travis-ci.org/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }}.svg?branch=master)](https://travis-ci.org/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }})
[![Coverage Status](https://img.shields.io/coveralls/github/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }}.svg)](https://coveralls.io/github/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }}?branch=master)
[![Release Status](https://img.shields.io/pypi/status/{{ cookiecutter.project_repository }}.svg)](https://pypi.org/project/{{ cookiecutter.project_repository }})
[![Python Version](https://img.shields.io/pypi/pyversions/{{ cookiecutter.project_repository }}.svg)](https://pypi.org/project/{{ cookiecutter.project_repository }})
[![Build Status](https://travis-ci.org/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }}.svg?branch=master)](https://travis-ci.org/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }})
[![Coverage Status](https://img.shields.io/coveralls/github/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }}.svg)](https://coveralls.io/github/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }}?branch=master)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Updates](https://pyup.io/repos/github/matthieugouel/{{ cookiecutter.project_slug }}/shield.svg)](https://pyup.io/repos/github/matthieugouel/{{ cookiecutter.project_slug }}/)
[![Documentation Status](https://readthedocs.org/projects/{{ cookiecutter.project_slug }}/badge/?version=latest)](http://{{ cookiecutter.project_slug }}.readthedocs.io/en/latest/?badge=latest)
[![license](https://img.shields.io/github/license/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }}.svg)](https://github.com/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }}/blob/master/LICENSE)
[![Documentation Status](https://readthedocs.org/projects/{{ cookiecutter.project_repository }}/badge/?version=latest)](http://{{ cookiecutter.project_repository }}.readthedocs.io/en/latest/?badge=latest)
[![license](https://img.shields.io/github/license/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }}.svg)](https://github.com/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }}/blob/master/LICENSE)

{{ cookiecutter.project_short_description }}

Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
version="{{ cookiecutter.project_version }}",
author="{{ cookiecutter.full_name }}",
author_email="{{ cookiecutter.email }}",
url="https://github.com/{{ cookiecutter.username }}/{{ cookiecutter.project_slug }}",
url="https://github.com/{{ cookiecutter.username }}/{{ cookiecutter.project_repository }}",
description="{{ cookiecutter.project_short_description }}",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit df4138e

Please sign in to comment.