** python3 maiken module **
Compile/Link phase module
mod:
- name: lang.python3
compile: # calls python3-config --includes
args: $str
with: $module # e.g. numpy adds includes for module
link: # calls python3-config --ldflags
args: $str
delete: $str1 $str2 # removes strings from python3-config --ldflags
Windows cl:
mkn clean build -tSa -EHsc -d
*nix gcc:
mkn clean build -tSa "-O2 -fPIC" -d -l "-pthread -ldl"
Windows cl:
mkn clean build -tSa -EHsc -dp test run
*nix gcc:
mkn clean build -tSa "-O2 -fPIC" -dp test -l "-pthread -ldl" run
Key PYTHON3_HOME
Type string
Default ""
Description If set - looks for python3/config in $PYTHON3_HOME/bin
Key MKN_PYTHON_LIB_EMBED
Type bool
Default "false/0"
Description Embed library in link e.g. (python3-config --embed)