capistrano

Python3 __pycache__ generating even if PYTHONDONTWRITEBYTECODE=1

Python3 __pycache__ generating even if PYTHONDONTWRITEBYTECODE=1 Question: I would like to ask if there is another way to disable creation of __pycache__ in the server. My problem is it keeps generating even if I already set environment variable to PYTHONDONTWRITEBYTECODE=1 I want to disable __pycache__ because I only keep 5 releases in deployment. This cache …

Total answers: 3