File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 88
99 * [x] name, version
1010 * [x] author
11+ * [x] license
1112 * [ ] url
1213 * [ ] description (first line of module docstring)
1314
@@ -85,7 +86,8 @@ def lookup(match):
8586 tplvars = dict (
8687 module = os .path .basename (modpath )[:- 3 ], # also strip extension
8788 version = get_field (modpath , '__version__' ),
88- author = get_field (modpath , '__author__' )
89+ author = get_field (modpath , '__author__' ),
90+ license = get_field (modpath , '__license__' )
8991 )
9092
9193 if tplvars ['version' ] == None :
Original file line number Diff line number Diff line change 77 url= 'https://github.com /techtonik/python-patch/',
88
99 description= 'Patch utility to apply unified diffs',
10- license= 'MIT ',
10+ license= '{{ license }} ',
1111
1212 py_modules= ['{{ module }}'],
1313
Original file line number Diff line number Diff line change 1414
1515__author__ = "anatoly techtonik <techtonik@gmail.com>"
1616__version__ = "1.16"
17+ __license__ = "MIT"
1718
1819import copy
1920import logging
You can’t perform that action at this time.
0 commit comments