Manage project files

I feel like I may be missing something obvious, but how does one manually manage files/libraries in a project?

For instance, how do I tell PyCharm to ignore a './data/' subdirectory under the project root? (it contains lots of big XML files that PyCharm treats as code but I want it to disregard)

Or, how do I change/add/remove external libraries? I have multiple versions of Python installed, my project is Python 3.1 based but PyCharm insists on putting Python 2.6 as an external library. It also fails to find/load PyQt, causing it to flag logs of undefined classes, etc.

Thanks

0
3 comments

Hello ben,

I feel like I may be missing something obvious, but how does one

manually manage files/libraries in a project?

For instance, how do I tell PyCharm to ignore a './data/' subdirectory

under the project root? (it contains lots of big XML files that

PyCharm treats as code but I want it to disregard)

Settings | Project Structure, select the folder, mark it as excluded.

Or, how do I change/add/remove external libraries? I have multiple

versions of Python installed, my project is Python 3.1 based but

PyCharm insists on putting Python 2.6 as an external library. It also

fails to find/load PyQt, causing it to flag logs of undefined classes,

etc.

In Settings | Python Interpreters, you can select the correct interpreter

, and also you can modify the list of paths where PyCharm looks for imported

files.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Thank you, that worked.

PyQt classes still are flagged as missing/undeclared in Inspect Code, though they are found in External Libraries. Is this because they are binary modules rather than python source?

Thanks

0

Hello ben,

Thank you, that worked.

PyQt classes still are flagged as missing/undeclared in Inspect Code,

though they are found in External Libraries. Is this because they are

binary modules rather than python source?

There are a number of issues with PyQt in beta 1; they will be fixed in PyCharm

beta 2.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.