First working prototype of plugins, refs #14

Uses pluggy: https://pluggy.readthedocs.io/

Two example plugins - an uppercase template filter and a convert_units() SQL function.
This commit is contained in:
Simon Willison 2018-04-15 16:17:36 -07:00
commit f2720b0c6b
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
5 changed files with 47 additions and 1 deletions

View file

@ -28,7 +28,8 @@ setup(
'Sanic==0.7.0',
'Jinja2==2.10',
'hupper==1.0',
'pint==0.8.1'
'pint==0.8.1',
'pluggy>=0.1.0,<1.0',
],
entry_points='''
[console_scripts]