File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -165,16 +165,12 @@ texinfo_documents = [
165
165
author, '{{ project_fn }}', 'One line description of project.',
166
166
'Miscellaneous'),
167
167
]
168
- {%- if epub %}
169
168
170
169
171
170
# -- Options for Epub output -------------------------------------------------
172
171
173
172
# Bibliographic Dublin Core info.
174
173
epub_title = project
175
- epub_author = author
176
- epub_publisher = author
177
- epub_copyright = copyright
178
174
179
175
# The unique identifier of the text. This can be a ISBN number
180
176
# or the project homepage.
@@ -187,7 +183,6 @@ epub_copyright = copyright
187
183
188
184
# A list of files that should not be packed into the epub file.
189
185
epub_exclude_files = ['search.html']
190
- {%- endif %}
191
186
{%- if extensions %}
192
187
193
188
Original file line number Diff line number Diff line change @@ -63,13 +63,20 @@ DESCRIPTION = (
63
63
URL = 'https://{{scm_host}}/{{organisation}}/{{name}}'
64
64
DOWNLOAD_URL = '%s/archive/{{release}}.tar.gz' % URL
65
65
FILES = ['README.rst',{%block morefiles %}{%endblock%} 'CHANGELOG.rst']
66
+ {% if self.additional_keywords %}
67
+ {% set additional_keywords = self.additional_keywords() %}
68
+ {% if additional_keywords and not additional_keywords.rstrip().endswith(',') %}
69
+ {% set additional_keywords = additional_keywords.rstrip() + ',\n' %}
70
+ {% endif %}
71
+ {% endif %}
66
72
KEYWORDS = [
67
- 'python',
68
73
{% for keyword in keywords %}
69
74
'{{keyword}}',
70
75
{% endfor %}
71
- {%block additional_keywords%}
72
- {%endblock%}
76
+ {% if additional_keywords %}
77
+ {{ additional_keywords -}}
78
+ {% endif %}
79
+ 'python',
73
80
]
74
81
75
82
CLASSIFIERS = [
You can’t perform that action at this time.
0 commit comments