from setuptools import setup, find_packages

VERSION = '0.1.0dev'

setup(
    name='Brewmeister',
    version=VERSION,
    long_description=open('README.rst').read(),
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    scripts=['bin/brewmeister'],
    install_requires=[
        'Babel>=1.3',
        'docutils>=0.11',
        'Flask>=0.10.1',
        'Flask-Babel>=0.9',
        'Flask-Cache>=0.12',
        'Flask-PyMongo>=0.3.0',
        'Flask-Script>=0.6.3',
        'fysom>=1.0.14',
        'jsonschema>=2.3.0',
        'pyserial>=2.7',
        'reportlab>=2.7',
    ]
)

@@ -1,8 +1,30 @@
+import os%0Aimport glob%0A
 from set
@@ -60,16 +60,17 @@
 ckages%0A%0A
+%0A
 VERSION 
@@ -83,16 +83,276 @@
 .0dev'%0A%0A
+%0Adef mo_files():%0A    linguas = glob.glob('brew/translations/*/LC_MESSAGES/messages.mo')%0A    lpaths = %5Bos.path.dirname(d) for d in linguas%5D%0A    return zip(lpaths, %5B%5Bl%5D for l in linguas%5D)%0A%0A%0A# Data files to be installed after build time%0Adata_files = mo_files()%0A%0A%0A
 setup(%0A 
@@ -524,16 +524,16 @@
 =False,%0A
-
     scri
@@ -557,16 +557,43 @@
 ster'%5D,%0A
+    data_files=data_files,%0A
     inst

Install .mo catalogs if available