Skip to content

Commit 2c73a42

Browse files
committed
✨ conditional include. resolves #16
1 parent fda7305 commit 2c73a42

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

templates/MANIFEST.in.jj2

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
include README.rst
22
include LICENSE
3+
{% if 'CHANGELOG.rst' is exists %}
34
include CHANGELOG.rst
5+
{% endif %}
6+
{% if 'CONTRIBUTORS.rst' is exists %}
7+
include CONTRIBUTORS.rst
8+
{% endif %}
9+
{% if 'tests' is exists %}
10+
recursive-include tests *
11+
{% endif %}
12+
{% if 'docs' is exists %}
13+
recursive-include docs *
14+
{% endif %}
415
{%block more_options%}
516
{%endblock%}

0 commit comments

Comments
 (0)