Skip to content

Allow docs to build without PyQt installed.#4642

Merged
takluyver merged 1 commit into
ipython:masterfrom
takluyver:docs-build-noqt
Dec 5, 2013
Merged

Allow docs to build without PyQt installed.#4642
takluyver merged 1 commit into
ipython:masterfrom
takluyver:docs-build-noqt

Conversation

@takluyver
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

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

@damianavila
Copy link
Copy Markdown
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
Copy Markdown
Member

Carreau commented Dec 5, 2013

+1

@takluyver
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants