I followed the tutorial of Django-oscar: Building your own shop.
What I am trying to do is to find the original django-oscar folder; however, I don't know where it is located. I need to find this folder because I want to customize some files.
I'm using virtualenvwrapper. Does someone know how that folder can be located?
When you use virtualenv
, pip install will save the package into the virtual environment site-packages directory.
Additionally, if you use virtualenvwrapper
, you can use cdsitepackages
command to change to site-packages directory . then you cd oscar
from there.
In my case, django-oscar
is located under: /home/myname/.virtualenvs/myprojectenv/lib/python3.4/site-packages/oscar/
But you are not suppose to modify anything in the site-packages. Because it is managed by the third party. (You shouldn't modify django-oscar library directly, it won't be maintainable. If you do so, then you will lose the ability to update the packages automatically).