Skip to content

Commit aa98c8c

Browse files
authored
Added ipython to requirements.txt (#795)
* Added ipython to requirements.txt * Added ipython to requirements.txt * Added ipython to requirements.txt
1 parent fdc9a91 commit aa98c8c

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

_unittest/test_12_PostProcessing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ def test_51_get_efields(self):
220220
assert app2.post.get_efields_data(ff_setup="3D")
221221
app2.close_project(saveproject=False)
222222

223-
@pytest.mark.skipif(not ipython_available, reason="Skipped because ipython not available")
223+
@pytest.mark.skipif(
224+
config["build_machine"] or not ipython_available, reason="Skipped because ipython not available"
225+
)
224226
def test_52_display(self):
225227
img = self.aedtapp.post.nb_display(show_axis=True, show_grid=True, show_ruler=True)
226228
assert isinstance(img, Image)

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ matplotlib
2626

2727
numpy
2828
# License: BSD-3-Clause License
29+
30+
ipython
31+
# License: BSD-3-Clause License

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def install(package):
3232
"rpyc==5.0.1",
3333
"pyvista>=0.32.0",
3434
"numpy",
35+
"ipython",
3536
"matplotlib",
3637
]
3738
install("https://github.com/pyansys/PyAEDT/raw/release/0.3/pythonnet-2.5.2-cp39-cp39-win_amd64.whl")
@@ -43,6 +44,7 @@ def install(package):
4344
"rpyc==5.0.1",
4445
"pyvista>=0.32.0",
4546
"numpy",
47+
"ipython",
4648
"matplotlib",
4749
]
4850
elif not is_ironpython and sys.version_info < (3, 0):

0 commit comments

Comments
 (0)