new command : when we want to use an other database, we can run that command with "python manage.py initsitedomain" and this will set the domain to the right value in the django-site table
import platform
from lib_create_env import lib_generate_install_methods
system_str = platform.system()
INSTALLS = [#(key,method, option_str, dict_extra_env)
]
OPTIONS_TO_ADD = ['clear', 'type_install=local', "unzip-setuptools", "use_distribute"]
def generate_install_methods(path_locations, src_base, Logger, call_subprocess):
return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD)