To update the version number update the lines in these files:
CMakeLists.txt
ADD_DEFINITIONS(-DDEVSIM_VERSION_STRING=\"2.10.0\")
dist/bdist_wheel/setup.cfg
version = 2.9.2
dist/bdist_wheel/setup.cfg
py-limited-api = cp39
src/pythonapi/CMakeLists.txt
target_compile_definitions(pythonapi_interpreter_py3 PRIVATE -DDEVSIM_MODULE_NAME=devsim_py3 -DPy_LIMITED_API=0x03090000)
- Additional Python Notes
- how-to-configure-setuptools-with-setup-cfg-to-include-platform-name-python-tag
- C API Stability
- It looks like
setup.cfgis going away, but it is not clear what to do for the replacementpyproject.toml.