-
Notifications
You must be signed in to change notification settings - Fork 64
/
setup.py
36 lines (32 loc) · 885 Bytes
/
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
from setuptools import setup
description = 'Ask not what $ORG can do for you, but what you can do for $ORG'
setup(
name='asknot-ng',
version='1.0',
description=description,
license='GPLv3+',
author='Ralph Bean',
author_email='[email protected]',
url='https://github.com/fedora-infra/asknot-ng',
install_requires=[
'mako',
'PyYAML',
],
extras_require={
'tests': ['nose2'],
},
packages=[],
py_modules=['asknot_lib'],
# This declares our special-case extractor to 'babel', a python l18n tool.
entry_points="""
[babel.extractors]
asknot = asknot_lib:extract
""",
# This further declares that babel should use our extractor on yaml files
# in the questions/ directory.
message_extractors={
"questions": [
('**.yml', 'asknot', None),
]
}
)