-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (33 loc) · 910 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
from setuptools import setup, find_namespace_packages
from babel.messages import frontend as babel
setup(
name='mfa',
version='0.1.0',
author='Michael Fladischer',
author_email='[email protected]',
url='https://github.com/medunigraz/mfa',
packages=find_namespace_packages(),
setup_requires=(
'setuptools_scm'
),
use_scm_version=True,
include_package_data=True,
install_requires=(
'Werkzeug',
'Babel',
'redis',
'duo-client',
'Jinja2',
),
cmdclass={
'compile_catalog': babel.compile_catalog,
'extract_messages': babel.extract_messages,
'init_catalog': babel.init_catalog,
'update_catalog': babel.update_catalog,
},
message_extractors={
'mug/mfa/statuspage': [
('templates/**.html', 'jinja2', {'encoding': 'utf-8'}),
],
},
)