Setting os independence in setting.py