Building and Deploying Python code with native shared libraries a continuously involving ordeal, hence I have provided the equivalent CMake/Makefile command in comments to be relatable to C++. Internally Cmake and Make are invoked. The build-flow currently uses setuptools, which is deprecated in Python 3.12.
See requirements.txt
Variable | Default Value | Description |
---|---|---|
SKNRF_DIR | import site ; site.getsitepackages()[0] | Python SKNRF Module Directory |
CONDA_PREFIX | /usr/local | C++ Sysroot |
VISA_LIB | @py | Visa Library Location |
.:
sudo python3 setup.py clean # sudo make clean
python3 setup.py config # cmake ..
python3 setup.py build # make
sudo python3 setup.py install # sudo make install
.:
python3 ${SKNRF_DIR}/sknrf/main.py
.:
cd ${SKNRF_DIR}/sknrf ; nosetests --config=nose.cfg
${SKNRF_DIR}/sknrf/sknrf.yml contains runtime configuration settings. Beware of Environment Variables set in this file.
DC Supply
AWG
DAC
Multimeter
Oscilloscope
ADC
Open/Short Circuit
Varactor
Active Load
Signal Generator
VSG
AWG
Pulse Generator
SRD
VNA
VSA
Power-Meter
Oscilloscope
Sampling Scope
50 Ohms
Passive Load
Active Load