In Windows using the windows store's python distributions and venv, installation of the package would break during installation of cmdStan and creation of the complied stan binaries. This is caused by usage of temp folder, having to move things around from temp to package directory, as well as missing complier in Windows.
Fix: Simplified setup.py workflow by aligning installing workflow with non-window machines. Adds complier=True flag to cmdstanpy.install_cmdstan. Tested on python 3.9-3.11 venvs.
Fixes #808
Type of change
[ x] Bug fix
How Has This Been Tested?
Created venv using targed python version
install requirements, requirements-test, and install local package (pip install -e .)
Install package and run demo code specified in readme.md, confirmed working
Ran unit tests according to contribution guideline, confirmed all passed
Description
In Windows using the windows store's python distributions and venv, installation of the package would break during installation of cmdStan and creation of the complied stan binaries. This is caused by usage of temp folder, having to move things around from temp to package directory, as well as missing complier in Windows.
Fix: Simplified setup.py workflow by aligning installing workflow with non-window machines. Adds
complier=True
flag tocmdstanpy.install_cmdstan
. Tested on python 3.9-3.11 venvs.Fixes #808
Type of change
How Has This Been Tested?
pip install -e .
)