-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (23 loc) · 817 Bytes
/
setup.py
File metadata and controls
25 lines (23 loc) · 817 Bytes
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
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
# If you are changing from the default layout of your extension, you may
# have to change the message extractors, you can read more about babel
# message extraction at
# http://babel.pocoo.org/docs/messages/#extraction-method-mapping-and-configuration
message_extractors={
'ckanext': [
('**/csl_styles/*.csl', 'csl', None),
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
},
entry_points='''
[ckan.plugins]
citeproc=ckanext.citeproc.plugin:CiteProcPlugin
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
csl = ckanext.citeproc.extract:extract_csl_info
''',
)