Add a monkey patch to "
django.db.models.fields.files.FileDescriptor.__get__ (cf django bug #24823 https://code.djangoproject.com/ticket/24823)
This is done in order to avoid maintaining a django fork
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)