diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index a6353e32..638879bc 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -730,6 +730,18 @@ build_package_jython_builder() { ( cd "dist" && build_package_jython ) } +build_package_ironpython() { + mkdir -p "${PREFIX_PATH}/bin" + cp -fR . "${PREFIX_PATH}/bin" + chmod +x "${PREFIX_PATH}/bin/"*.exe + ( cd "${PREFIX_PATH}/bin" && ln -fs ipy.exe python ) +} + +build_package_ironpython_builder() { + xbuild Build.proj /t:Stage "/p:Mono=true;BaseConfiguration=Release" >&4 2>&1 + ( cd "Stage/Release/IronPython-"* && build_package_ironpython ) +} + pypy_architecture() { case "$(uname -s)" in "Darwin" ) echo "osx64" ;; diff --git a/plugins/python-build/share/python-build/ironpython-dev b/plugins/python-build/share/python-build/ironpython-dev new file mode 100644 index 00000000..259cd3d7 --- /dev/null +++ b/plugins/python-build/share/python-build/ironpython-dev @@ -0,0 +1,3 @@ +install_git "ironpython-dev" "https://github.com/IronLanguages/main.git" master ironpython_builder +install_package "setuptools-3.4.1" "https://pypi.python.org/packages/source/s/setuptools/setuptools-3.4.1.tar.gz#252a38c6b25f1ac446ba6983095dbf3f" python +install_package "pip-1.5.4" "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#834b2904f92d46aaa333267fb1c922bb" python