Project Structure Follow
I have imported a project into PyCharm that was created in IntelliJ using the Python plugin. In IntelliJ's Project Structure dialog, I was able to 'create' separate modules and specify the dependency relationships between the modules.
Now in PyCharm's Project Structure dialog, I see my individual modules that were created in IntelliJ, but:
1) don't see anyway to create a new module
2) don't see anyway to specify module dependencies
Is there a blog post (or other information) somewhere that talks about how to organize a large Python code base as a PyCharm project?
Now in PyCharm's Project Structure dialog, I see my individual modules that were created in IntelliJ, but:
1) don't see anyway to create a new module
2) don't see anyway to specify module dependencies
Is there a blog post (or other information) somewhere that talks about how to organize a large Python code base as a PyCharm project?
Please sign in to leave a comment.
When you open a project in PyCharm and select the option to attach it to the currently opened projects, it works as an equivalent of adding a new module to a project in IntelliJ IDEA. UI for configuring dependencies between multiple opened projects is planned for addition in PyCharm 2.7.
I'm having a similar problem. I've organized my packages into a single directory and this directory is in PYTHONPATH. I can now call packages from any terminal prompt location and the packages import other packages using near absolute references like "from utilities.utilities import sometool"
But PyCharm debugger fails on trying to import utilities.
So I added utilities package to other open package as suggested above but this did not work. I had to remove the first "utilities" from "utilities.utilities" but when I make that change the main package no longer loads at the terminal prompt due to missing "utilities."
I can debug or I can run the package but not both it seems. Is there another option while waiting for PC 2.7?