Skip to content

Commit

Permalink
add python-package-template command to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Aug 17, 2021
1 parent aebe77c commit b78afeb
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 6 deletions.
13 changes: 12 additions & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,15 @@ Coming soon!

## Development

This project is developed using [Python Build](https://github.com/craigahobbs/python-build#readme).
This project is developed using [Python Build](https://github.com/craigahobbs/python-build#readme). It was started
using [python-package-template](https://github.com/craigahobbs/python-package-template#readme) as follows:

```
template-specialize python-package-template/template/ {{package}}/ \
-k package {{package}} \
-k name "{{name}}" \
-k email "{{email}}" \
-k github "{{github}}" \{% if nodoc is defined and nodoc %}
-k nodoc 1{% endif %}{% if nomain is defined and nomain %}
-k nomain 1{% endif %}
```
11 changes: 10 additions & 1 deletion template/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,13 @@ Links
Development
-----------

This project is developed using `Python Build <https://github.com/craigahobbs/python-build#readme>`__.
This project is developed using `Python Build <https://github.com/craigahobbs/python-build#readme>`__. It was started
using `python-package-template <https://github.com/craigahobbs/python-package-template#readme>`__ as follows::

template-specialize python-package-template/template/ {{package}}/ \
-k package {{package}} \
-k name "{{name}}" \
-k email "{{email}}" \
-k github "{{github}}" \{% if nodoc is defined and nodoc %}
-k nodoc 1{% endif %}{% if nomain is defined and nomain %}
-k nomain 1{% endif %}
12 changes: 11 additions & 1 deletion test_expected/test_nodoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,14 @@ Coming soon!

## Development

This project is developed using [Python Build](https://github.com/craigahobbs/python-build#readme).
This project is developed using [Python Build](https://github.com/craigahobbs/python-build#readme). It was started
using [python-package-template](https://github.com/craigahobbs/python-package-template#readme) as follows:

```
template-specialize python-package-template/template/ package-name/ \
-k package package-name \
-k name "John Doe" \
-k email "[email protected]" \
-k github "johndoe" \
-k nodoc 1
```
13 changes: 12 additions & 1 deletion test_expected/test_nodoc_nomain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,15 @@ Coming soon!

## Development

This project is developed using [Python Build](https://github.com/craigahobbs/python-build#readme).
This project is developed using [Python Build](https://github.com/craigahobbs/python-build#readme). It was started
using [python-package-template](https://github.com/craigahobbs/python-package-template#readme) as follows:

```
template-specialize python-package-template/template/ package-name/ \
-k package package-name \
-k name "John Doe" \
-k email "[email protected]" \
-k github "johndoe" \
-k nodoc 1
-k nomain 1
```
10 changes: 9 additions & 1 deletion test_expected/test_nomain/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,12 @@ Links
Development
-----------

This project is developed using `Python Build <https://github.com/craigahobbs/python-build#readme>`__.
This project is developed using `Python Build <https://github.com/craigahobbs/python-build#readme>`__. It was started
using `python-package-template <https://github.com/craigahobbs/python-package-template#readme>`__ as follows::

template-specialize python-package-template/template/ package-name/ \
-k package package-name \
-k name "John Doe" \
-k email "[email protected]" \
-k github "johndoe" \
-k nomain 1
9 changes: 8 additions & 1 deletion test_expected/test_required/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,11 @@ Links
Development
-----------

This project is developed using `Python Build <https://github.com/craigahobbs/python-build#readme>`__.
This project is developed using `Python Build <https://github.com/craigahobbs/python-build#readme>`__. It was started
using `python-package-template <https://github.com/craigahobbs/python-package-template#readme>`__ as follows::

template-specialize python-package-template/template/ package-name/ \
-k package package-name \
-k name "John Doe" \
-k email "[email protected]" \
-k github "johndoe" \

0 comments on commit b78afeb

Please sign in to comment.