eGenix PyRun 1.3.0 GA

eGenix PyRun - One file Python Runtime 1.3.0 GA

eGenix is pleased to announce our new open-source eGenix PyRun - One file Python runtime 1.3.0 for Python 2.5 - 2.7, with support for Linux, FreeBSD and Mac OS X.

Introduction

Our new eGenix PyRun combines a Python interpreter with an almost complete Python standard library into a single easy-to-use executable, that does not require a system wide installation and is fully relocatable.

eGenix PyRun's executable only needs 11MB, but still supports most Python application and scripts - and it can be further compressed to 3-4MB using upx.

Compared to a regular Python installation of typically 100MB on disk, this makes eGenix PyRun ideal for applications and scripts that need to be distributed to many target machines, client installations or customers.

It makes "installing" Python on a Unix based system as simple as copying a single file.

We have been using the product internally in our mxODBC Connect Server since 2008 with great success and have now extracted it into a stand-alone open-source product.

We provide both the source archive to build your own eGenix PyRun, as well as pre-compiled binaries for Linux, FreeBSD and Mac OS X, as 32- and 64-bit versions. The binaries can be downloaded manually, or you can let our automatic install script install-pyrun take care of the installation: ./install-pyrun dir and you're done.

Please see the product page for more details:

    >>> eGenix PyRun - One file Python Runtime

News

This is a new minor release of eGenix PyRun, which comes with updates to the latest Python releases and includes a number of compatibility enhancements.

New Features

  • Upgraded eGenix PyRun to work with and use Python 2.7.5 per default.
  • Upgraded eGenix PyRun to use Python 2.6.8 as default Python 2.6 version.
  • PyRun will now create a symlink from "pyrunX.X" to "pythonX.X" and "pyrunX.X" to "python" in the bin/ dir to enhance compatibility with scripts and applications that hardwire the name of the Python interpreter to "python".

install-pyrun Quick Installation Enhancements

Since version 1.1.0, eGenix PyRun includes a shell script called install-pyrun, which greatly simplifies installation of eGenix PyRun. It works much like the virtualenv shell script used for creating new virtual environments (except that there's nothing virtual about PyRun environments).

With the script, an eGenix PyRun installation is as simple as running:

./install-pyrun targetdir
We have enhanced this script somewhat since the last release:
  • install-pyrun now defaults to always installing the most recent setuptools and pip versions from PyPI.
  • install-pyrun now installs setuptools instead of distribute, after the two projects got merged and continued under the older name.
  • Added new option --pyrun-executable to define an alternative name for the executable, which is then also used when installing setuptools and pip, e.g. "python" for even better compatibility with standard Python.
  • install-run will now prefer curl over wget when downloading packages from PyPI.
  • install-pyrun local distribution options will now also work with relative paths.
  • install-pyrun now defaults to installing setuptools 1.1.1 and pip 1.4.1 when looking for local downloads of these tools.
  • The short options in install-pyrun now also have corresponding long option names.

Other Changes

  • Fixed SyntaxWarning in pyrunX.X: name 'pyrun_script' is assigned to before global declaration global pyrun_script

Presentation at EuroPython 2012

Marc-André Lemburg, CEO of eGenix, gave a presentation about eGenix PyRun at EuroPython 2012 last year. The talk video as well as the slides are available on our website:

eGenix PyRun Talk at EuroPython 2012


Downloads

Please visit the eGenix PyRun product page for downloads, instructions on installation and documentation of the product.

More Information

For more information on eGenix PyRun, licensing and download instructions, please write to sales@egenix.com.

Enjoy !

Marc-Andre Lemburg, eGenix.com

Published: 2013-09-11