Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow docs to build without PyQt installed. #4642

Merged
merged 1 commit into from Dec 5, 2013

Conversation

takluyver
Copy link
Member

PyQt/PySide is needed to list the config options for the Qt console. But some environments and contributors may not have it, and it's not always easy to install. This prints a warning and skips the list of Qt console options if the import fails.

PyQt/PySide is needed to list the config options for the Qt console. But
some environments and contributors may not have it, and it's not always
easy to install. This prints a warning and skips the list of Qt console
options if the import fails.
@damianavila
Copy link
Member

Looks good to me... and it is an improvement because it is not so simple to install PyQt in a virtualenv (ok, it is easy after you know how to do it 😉 )

@takluyver
Copy link
Member Author

How do you do it? I don't know that! ;)

@damianavila
Copy link
Member

I have a postmkvirtualenv script containing the following: http://linkode.org/eSszlSzx8zAIWD0L1P8Nw4
Then, any time you make a new virtualenv, you will have PyQt linked to it... (of course, you will need to have PyQt installed in your system).

@Carreau
Copy link
Member

Carreau commented Dec 5, 2013

+1

@takluyver
Copy link
Member Author

Ah, I see, so it has to be installed systemwide already.

Anyway, merging this.

takluyver added a commit that referenced this pull request Dec 5, 2013
Allow docs to build without PyQt installed.
@takluyver takluyver merged commit 3476524 into ipython:master Dec 5, 2013
@damianavila
Copy link
Member

Ah, I see, so it has to be installed systemwide already.

Yep!

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Allow docs to build without PyQt installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants