1 This folder contains the necessary files to bu 2 libcpupower (aside from the libcpupower object 3 4 5 requirements 6 ------------ 7 8 * You need the object files in the libcpupower 9 cpupower's makefile. 10 * The SWIG program must be installed. 11 * The Python's development libraries installed 12 13 Please check that your version of SWIG is comp 14 installed on your machine by checking the SWIG 15 https://swig.org/ 16 17 Note that while SWIG itself is GPL v3+ license 18 the bindings code: is permissively licensed + 19 files. For these bindings that means GPL v2. 20 21 Please see https://swig.org/legal.html and the 22 23 [1] 24 https://lore.kernel.org/linux-pm/Zqv9BOjxLAgyN 25 26 27 build 28 ----- 29 30 Install SWIG and the Python development files 31 32 Build the object files for libcpupower by runn 33 directory. 34 35 Return to the directory this README is in to r 36 37 $ make 38 39 40 testing 41 ------- 42 43 Please verify the _raw_pylibcpupower.so and ra 44 been created. 45 46 To run the test script: 47 48 $ python test_raw_pylibcpupower.py 49 50 51 credits 52 ------- 53 54 Original Bindings Author: 55 John B. Wyatt IV 56 jwyatt@redhat.com 57 sageofredondo@gmail.com 58 59 Copyright (C) 2024 Red Hat
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.