forked from lektor/lektor-atom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (40 loc) · 1.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import ast
import io
import re
from setuptools import setup
with io.open('README.md', 'rt', encoding="utf8") as f:
readme = f.read()
_description_re = re.compile(r'description\s+=\s+(?P<description>.*)')
with open('lektor_atom.py', 'rb') as f:
description = str(ast.literal_eval(_description_re.search(
f.read().decode('utf-8')).group(1)))
setup(
author=u'A. Jesse Jiryu Davis',
author_email='jesse@emptysquare.net',
description=description,
install_requires=['MarkupSafe'],
keywords='Lektor plugin static-site blog atom rss',
license='MIT',
long_description=readme,
long_description_content_type='text/markdown',
name='lektor-atom',
py_modules=['lektor_atom'],
url='https://github.com/nixjdm/lektor-atom',
version='0.3',
classifiers=[
'Environment :: Plugins',
'Environment :: Web Environment',
'Framework :: Lektor',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
entry_points={
'lektor.plugins': [
'atom = lektor_atom:AtomPlugin',
]
},
tests_require=[
'lxml',
'pytest'
],
)