Skip to content

Commit 07b92b7

Browse files
committed
Summary now get from README.md file
1 parent 61d2357 commit 07b92b7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

build.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,17 @@
3030

3131
authors = [Author("Arturo GL", 'r2d2006@hotmail.com'), Author("Diego BM", 'diegobm92@gmail.com')]
3232
url = 'https://github.com/yeuk0/pybuilder-archetype-api'
33-
description = "External plugin for PyBuilder to generate a web service project structure"
34-
long_description = f"Visit {url} for more information"
35-
summary = "PyBuilder Python web service project structure Plugin"
33+
summary = "External plugin for PyBuilder to generate a web service project structure"
34+
description = open('README.md', encoding='utf8').read()
3635

3736
default_task = ['clean', 'publish']
3837

3938

39+
@init
40+
def initialise(project):
41+
project.set_property('distutils_readme_file_type', 'text/markdown')
42+
43+
4044
@init
4145
def pack_files(project):
4246
"""

0 commit comments

Comments
 (0)