4👍
✅
There is an easier way, set no_chown: True on the virtualenv and it works. See this issue for more info:
0👍
What worked for me was in salt roots to add a requirements.txt that had:
-r /srv/MyProject/src/requirements.txt
then in the state, link to it via salt like so:
- requirements: salt://requirements.txt
This then allows you to include further requirements as normal without issues.
👤uzi
- [Django]-Django choices tutorial
- [Django]-Django virtualenv – Error: No module named south
- [Django]-How to only sync custom permissions with syncdb?
Source:stackexchange.com