Skip to content

Commit 2368b7f

Browse files
Generate .mo files
1 parent 4c0075c commit 2368b7f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ dev: dev-requirements.txt
66
prod: requirements.txt
77
pip install -r requirements.txt
88

9-
run: prod
9+
compile-translations:
10+
pybabel compile -d snappass/translations
11+
12+
run: prod compile-translations
1013
FLASK_DEBUG=1 FLASK_APP=snappass.main NO_SSL=True venv/bin/flask run
1114

1215
test:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
long_description=(open('README.rst').read() + '\n\n' +
88
open('AUTHORS.rst').read()),
99
url='http://github.com/Pinterest/snappass/',
10-
install_requires=['Flask', 'redis', 'cryptography'],
10+
install_requires=['Flask', 'redis', 'cryptography', 'flask-babel'],
1111
license='MIT',
1212
author='Dave Dash',
1313
author_email='dd+github@davedash.com',

0 commit comments

Comments
 (0)