151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
"obsoletes_dist": [],
"requires_external": [],
"provides_extra": [],
}
#print(meta)
# comment/readme
for docs in pmd.plugin_doc(), psetup.get_readme():
if docs["long_description"]:
meta.update({ # with "long_" prefix cut off
key[5:]: value for key, value in docs.items()
})
# entry_points are in ini file
for section, entries in pmd.entry_points().items():
ini.entrypoints[section] = ini.entrypoints.get(section, {})
for script in entries:
ini.entrypoints[section].update(
dict(re.findall("(.+)=(.+)", script))
|
|
|
|
<
<
|
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
"obsoletes_dist": [],
"requires_external": [],
"provides_extra": [],
}
#print(meta)
# comment/readme
for docs in pmd.plugin_doc(prefix=""), pmd.get_readme(prefix=""):
if docs["description"]:
meta.update(docs)
# entry_points are in ini file
for section, entries in pmd.entry_points().items():
ini.entrypoints[section] = ini.entrypoints.get(section, {})
for script in entries:
ini.entrypoints[section].update(
dict(re.findall("(.+)=(.+)", script))
|