PyCharm include and modify External library in project
django, ide, pycharm, python, python-2.7
Solution
Well, you can add other directories as content roots:
Then simply mark the directory as a source root:
This should allow you to refactor, rename and do all the things you've wanted to do.
Problem
I have an issue where I am developing a Django project which includes other libraries we are also developing. My current structure is as follows: - Main Project - App1 - App2 - Libraries - Library 1 - Library 2 All libraries have their own setup scripts and are in separate git repositories, and we are adding them in PyCharm in the PYTHONPATH, and referencing them simply by their name. Which works good, but they are not in my current project, which means no re-factoring ( renaming, moving etc... ) and I have to use External search to find my class from the libraries. How do I set some libraries as project related to make them view-able and `refactorable` like we do on the currently set project.