mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Avoid importing the whole moulinette via __init__.py in setup.py
This commit is contained in:
parent
7862c6df92
commit
25926be950
1 changed files with 1 additions and 2 deletions
3
setup.py
3
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 = []
|
||||
|
|
Loading…
Add table
Reference in a new issue