Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit 6828d2b

Browse files
committed
have psutil dependency only on AppVeyor
1 parent aebe9e8 commit 6828d2b

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ install:
2727
- java -XshowSettings:properties -version
2828
- call %JPY_PYTHON_HOME%\Scripts\pip.exe install wheel
2929
- call %JPY_PYTHON_HOME%\Scripts\pip.exe install psutil
30+
- call %JPY_PYTHON_HOME%\python.exe ci\appveyor\dump-dlls.py
3031

3132
build_script:
3233
- set PATH=%JPY_PYTHON_HOME%;%JPY_PYTHON_HOME%\DLLs;%PATH%

ci/appveyor/dump-dlls.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import psutil, os
2+
3+
p = psutil.Process(os.getpid())
4+
for dll in p.memory_maps():
5+
print(dll.path)
6+

setup.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,6 @@
4343

4444
print('Using ' + jpyutil.__file__)
4545

46-
# ======================================================================
47-
# e.g. finding the shared libs (dll/so) our python process loaded so far ...
48-
49-
import psutil, os
50-
51-
p = psutil.Process(os.getpid())
52-
for dll in p.memory_maps():
53-
print(dll.path)
54-
55-
# ======================================================================
56-
5746
do_maven = False
5847
if '--maven' in sys.argv:
5948
do_maven = True

0 commit comments

Comments
 (0)