Пример #1
0





'''
_.                              = ''
_.                              = ''
_.                              = ''
_.                              = ''
_.                              = ''
'''

# where is stuff in the dev repro
_.SRC                           = AttrDict()
_.SRC.DJANGODIR                 = 'apps'
#_.SRC.HTMLDIR                   = 'html'
#_.SRC.PYENV_DIR                 = 'py_env'
_.SRC.DEPLOYDIR                 = 'deploy'
_.SRC.TEMPLATES                 = 'deploy/files'
_.SRC.PIP_REQ_FILE              = 'pip_requirements.txt'                        # filename on remote machine
_.SRC.PIP_REQ_FILE_WRK          = 'pip_requirements_worker.txt'
#_.SRC.PIP_REQ_RPATH_WRK_        = lambda: join(_.SRC.TEMPLATES, _.SRC.PIP_REQ_FILE_WRK)
_.SRC.PIP_REQ_FILE_SRV          = 'pip_requirements_server.txt'
#_.SRC.PIP_REQ_RPATH_SRV_        = lambda: join(_.SRC.TEMPLATES, _.SRC.PIP_REQ_FILE_SRV)


# SETTINGS FOR DJANGO APPS  # TODO remove this and replace all by the _.DJANGO
_.APPS                          = AttrDict()
_.APPS.DIR                      = 'django_app'                                  # the root of the django project (manage.py is in here)