Nothing
This Python binding is built using pybind11 module.
With the setup.py
file included, the pip3 install
command will
invoke CMake and build the pybind11 module as specified in CMakeLists.txt
.
```shell script python3 setup.py build --debug python3 setup.py build # release if not --debug python3 setup.py build develop python3 setup.py sdist bdist_wheel
and then
```python
import pylibkriging
pylibkriging.add(1, 2)
To test after a rebuild
import importlib
import pylibkriging as lk
importlib.reload(lk)
PYTHONPATH=../../../build/bindings/Python python3 -i -c "exec(open('LinearRegression.py').read())"
Deployment / upload:
# avec token in ~/.pypirc
pip3 install twine
python3 -m twine upload --repository pylibkriging dist/*
Cf: https://github.com/pypa/manylinux https://github.com/pypa/python-manylinux-demo * https://www.python.org/dev/peps/pep-0513/#rationale
docker run -it --rm -v "$PWD":"/data" quay.io/pypa/manylinux2014_x86_64 /bin/bash
cd /data
/opt/python/cp36-cp36m/bin/python3 bindings/Python/setup.py sdist bdist_wheel
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.