Project Dependencies?

Relatively new to Python, loving PyCharm. If I have to side by side Projects in PyCharm, what is the best/easiest/recommended way to make one a "dependent" of the other? Is there an easy way, for example, to have a core model project, and then a UI project, which easily imports what the model has to offer? Or am I supposed to step outside of PyCharm and do things with paths, or whatever?
3 comments
Comment actions Permalink
When you open multiple projects in the same window in PyCharm, subsequent projects implicitly become dependencies of the root one. So in your case, you need to open the core model project first, and then open the UI project in the same window.
0
Comment actions Permalink
Thanks for the reply Dmitry. Unfortunately, when I tried to do what I thought you were explaining, it doesn't work. It's probable that I misunderstand what you're explaining. Or maybe it doesn't work in the latest build?

Here's a little screencast, showing me trying to do what I think you say I should, and that it's not working. Maybe you (or anyone) will see the disconnect:

http://screencast.com/t/wWeUxdQRbKF

Thanks in Advance!
0
Comment actions Permalink
It seems like this topic has been forgotten...

In PyCharm 2.7.2 there's an extra checkbox 'Add to currently opened projects' you have to check. Otherwise before the new project is opened the current project is closed and that's exactly what you show in your screencast. Nice screencast!

image1
0

Please sign in to leave a comment.