forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make pylatexenc and pillow optional (Qiskit#2451)
* Make pylatexenc and pillow optional The pylatexenc and pillow requirements are only used in the latex and latex_source circuit drawers. Since this isn't used by everyone and is a non-default circuit drawer there is no reason we should force our users to install these by default. This commit updates the requirements list and setup.py to make these 2 requirements optional and included in the visualization setuptools extras to ease installation. If the packages are not installed it will raise an ImportError with a detailed exception explaining how to install the missing dependency. Fixes Qiskit#2417 * Fix lint * Fix lint again
- Loading branch information
1 parent
bc8e0d3
commit 00ee0c6
Showing
6 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ vcrpy | |
PyGithub | ||
wheel | ||
cython>=0.27.1 | ||
pillow>=4.2.1 | ||
pylatexenc>=1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters