Skip to content
Snippets Groups Projects
Commit f31ff653 authored by Christian Dreher's avatar Christian Dreher
Browse files

Merge branch 'feature/python_3_10' into 'main'

Add Python 3.10 Module

See merge request !405
parents edb53ca3 5aadbaa4
No related branches found
No related tags found
1 merge request!405tools/python/3.10: Add Python 3.10
Pipeline #6928 passed
{
"general": {
"url": "https://www.python.org/",
"authors": [
"Christian Dreher <c.dreher@kit.edu>",
"Christoph Pohl <pohl@kit.edu>"
]
},
"update": {
"archive": {
"url": "https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz",
"extract": {}
}
},
"prepare": {
"run": {
"script": "$MODULE_DEFINITION_RESOURCE_DIR/build.sh"
}
},
"install": {
"env": {
"PYTHON_3_10": "$MODULE_PATH/install/bin/python3.10"
},
"executables": {
"python-3.10": {
"exec": "$MODULE_PATH/install/bin/python3.10"
}
}
}
}
#!/bin/bash
set -e
source_dir="$MODULE_PATH/Python-3.10.0"
install_dir="$MODULE_PATH/install"
cd "$source_dir"
_axii_run_once ./configure Makefile --enable-optimizations --prefix="$install_dir"
_axii_run_once make python
_axii_run_once make "$install_dir" install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment