When you want to contribute to this project, please first discuss the change you wish to make via GitHub Issue.
- Check that your patch is legal under the LICENCE.
- Test in your computer.
- If you want to know how to do it please see
How to test
section below.
- If you want to know how to do it please see
- PR to the
dev
instead ofmaster
branch.- Because we use
master
branch as the release branch.
- Because we use
You should test in your computer before you submit a PR. First you have to install dependecies to your computer before you build and test your patch. And you execute these commands at the root directory of this project:
$ ./script/build_gcc.sh
$ python setup.py install
$ cd build
$ make test
$ make pythontest
$ ./script/build_msvc_2015.bat
$ python setup.py install
$ cmake --build ./visualstudio --target test --config Release
$ cmake --build ./visualstudio --target pythontest --config Release
- We recommend use Python from pyenv and vertualenv for the local test.
- Since we run
python setup.py install
at global Python unstable qulacs would be installed unintentionally. - And it would be difficult to show dependencies version when we need for debug
- Since we run