From 25926be950db5faa6ef1cf6ca5d3e49803a8b216 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sun, 16 Feb 2020 17:35:37 +0100 Subject: [PATCH] Avoid importing the whole moulinette via __init__.py in setup.py --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 26346e74..d7ad31e5 100755 --- a/setup.py +++ b/setup.py @@ -3,10 +3,9 @@ import os import sys from setuptools import setup, find_packages -from moulinette.globals import init_moulinette_env -LOCALES_DIR = init_moulinette_env()['LOCALES_DIR'] +LOCALES_DIR = os.environ.get("MOULINETTE_LOCALES_DIR", "/usr/share/moulinette/locale") # Extend installation locale_files = []