Skip to content

Common Project Development Procedures

Matt Ketkaroonkul edited this page Mar 31, 2022 · 20 revisions

Disclaimer: The following has only been tested on Linux systems.

Setting up Development Environment for Pybind11

  1. Install Anaconda on your system by following this link.

  2. Upon first use, you might see that your shell may already be in the (base) environment for conda. You can exit the env by issuing conda deactivate

  3. Create a Conda environment and enter it:

conda create --name uwmro_instruments python=3.10.0
conda activate uwmro_instruments
  • The python after inputting the name of the environment is to ensure no other packages other than the default are installed.
  • As of 01/22/2022, the version of python should be Python 3.10.0.
  1. Install these packages via Conda:
conda install -c conda-forge libstdcxx-ng pybind11

Building the Pybind11 .so Objects

  1. Every time you would like to test changes made to andor_wrapper.cpp, issue the following shell commands:
$ make clean
$ make andor_wrapper

Clone this wiki locally