[pluginlist-update] Renamed mistakenly named dir, switching banner image, revising setup.py example.
This commit is contained in:
parent
6578bc441a
commit
7630a30931
|
@ -29,14 +29,9 @@ from setuptools import setup, find_packages
|
||||||
with io.open('README.md', 'rt', encoding="utf8") as f:
|
with io.open('README.md', 'rt', encoding="utf8") as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
|
|
||||||
_name_re = re.compile(r'name\s+=\s+(?P<name>.*)')
|
|
||||||
_description_re = re.compile(r'description\s+=\s+(?P<description>.*)')
|
_description_re = re.compile(r'description\s+=\s+(?P<description>.*)')
|
||||||
|
|
||||||
with open('lektor_dsdf.py', 'rb') as f:
|
with open('lektor_hello_world.py', 'rb') as f:
|
||||||
name = str(ast.literal_eval(_name_re.search(
|
|
||||||
f.read().decode('utf-8')).group(1)))
|
|
||||||
|
|
||||||
with open('lektor_dsdf.py', 'rb') as f:
|
|
||||||
description = str(ast.literal_eval(_description_re.search(
|
description = str(ast.literal_eval(_description_re.search(
|
||||||
f.read().decode('utf-8')).group(1)))
|
f.read().decode('utf-8')).group(1)))
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 414 KiB |
Loading…
Reference in New Issue