Skip to content

Commit

Permalink
Remove unused python packages
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Paulo de Souza <[email protected]>
  • Loading branch information
marcosps authored and giulianobelinassi committed Jul 4, 2024
1 parent d14d609 commit 6af9caa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: zypper -n install libelf-devel
llvm16-libclang13 clang16-devel libclang-cpp16
clang-tools libLLVM16 llvm16 llvm16-devel meson ninja
python311-psutil python311-pexpect python311-pytest gcc findutils bash
gcc findutils bash
- uses: actions/checkout@v2
- name: meson
run: meson setup build --buildtype=${{ matrix.build-type }} --native-file ce-native.ini
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ A tool to extract code content from source files using the clang and LLVM infras

### Compiling clang-extract

clang-extract requires clang, LLVM, libelf, python3-pexpect, python3-psuti,
meson and ninja in order to build.
clang-extract requires clang, LLVM, libelf, meson and ninja in order to build.
On openSUSE, you can install them by running:
```
$ sudo zypper install clang18 clang18-devel libclang-cpp18 \
clang-tools libLLVM18 llvm18 llvm18-devel libelf-devel meson ninja \
python311-psutil python311-pexpect python311-pytest
clang-tools libLLVM18 llvm18 llvm18-devel libelf-devel meson ninja
```
It's advised to use LLVM 18 and higher, since it's well tested. But there
support for LLVM 16 and 17 as well, but you might find issues with it.
Expand Down
1 change: 0 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ clang_dep += cpp.find_library('clang-cpp', dirs : llvm_libdir)
clang_dep += cpp.find_library('LLVM', dirs : llvm_libdir)
############################# #########################
elf_dep = dependency('libelf') # libelf
python = import('python').find_installation('python3', modules : ['pexpect', 'psutil'])
find_program('gcc', version : '>=7.5.0')

subdir('libcextract')
Expand Down
4 changes: 0 additions & 4 deletions testsuite/lib/libtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
import tempfile
import glob

# Third-party libraries
import pexpect
import psutil

RESET = '\033[0m'
GREEN = '\033[32m'
HGREEN = '\033[0;92m'
Expand Down

0 comments on commit 6af9caa

Please sign in to comment.