[general] name=python short-description=python language homepage-url=http://www.python.org long-description= python programming language [template] work_dir=@{build.work_dir} source_dir=@{build.work_dir}/@{general.name}_@{general.version} [module] compiler=none category=tool license-type=gpl module=@{general.version} [BUILD_SCRIPT] download_url=@{general.download-url} download=@{download_tar} configure_flags= --enable-shared --with-ensurepip=yes [BUILD_SCRIPT] init= module purge download= @{download_tar} @{download_dummy} configure= @{configure_outsource} make= @{make_outsource} install= rm -rf @{install_dir} cd @{build_dir} make @{parallel_make} install export PATH=@{install_dir}/bin:$PATH export LD_LIBRARY_PATH=@{install_dir}/lib:$LD_LIBRARY_PATH @{install_dir}/bin/pip install virtualenv @{post_install} [MODULEFILE] prepend_path.PATH=prepend-path prepend_path.MANPATH=prepend-path prepend_path.LD_LIBRARY_PATH=prepend-path