def _getenv(self):
        env = dict(os.environ)
        env['OPUS_SETTINGS_FILE'] = os.path.join(self.projectdir, "opussettings.json")
        env['PYTHONPATH'] = os.path.split(opus.__path__[0])[0] + ":" + \
                self.projectdir
        # Tells the logging module to disable logging, which would create
        # permission issues
        env['OPUS_LOGGING_DISABLE'] = "1"
        env['DJANGO_SETTINGS_MODULE'] = "settings"
        return env
Read a line from the given stream (st)
dataset/ETHPy150Open bmbouter/Opus/opus/lib/deployer/__init__.py/ProjectDeployer._getenv--crossover with--dataset/ETHPy150Open dpapathanasiou/intelligent-smtp-responder/server/smtp_server.py/with_stream_read